]> sjero.net Git - wget/blobdiff - tests/Test-ftp-iri-disabled.px
NEWS: cite --start-pos
[wget] / tests / Test-ftp-iri-disabled.px
index 76330b1a9e2015370e8baa59782e5e77c4c3300b..d8dac313d180ccd9d3cb147be880397b31673f9d 100755 (executable)
@@ -1,8 +1,9 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 
 use strict;
 use warnings;
 
+use WgetFeature qw(iri);
 use FTPTest;
 
 
@@ -28,7 +29,7 @@ my %urls = (
     },
 );
 
-my $cmdline = $WgetTest::WGETPATH . " --no-iri --locale=iso-8859-1 -S ftp://localhost:{{port}}/fran${ccedilla_l1}ais.txt";
+my $cmdline = $WgetTest::WGETPATH . " --no-iri --local-encoding=iso-8859-1 -S ftp://localhost:{{port}}/fran${ccedilla_l1}ais.txt";
 
 my $expected_error_code = 0;
 
@@ -40,10 +41,10 @@ my %expected_downloaded_files = (
 
 ###############################################################################
 
-my $the_test = FTPTest->new (name => "Test-ftp-iri",
-                             input => \%urls, 
-                             cmdline => $cmdline, 
-                             errcode => $expected_error_code, 
+my $the_test = FTPTest->new (name => "Test-ftp-iri-disabled",
+                             input => \%urls,
+                             cmdline => $cmdline,
+                             errcode => $expected_error_code,
                              output => \%expected_downloaded_files);
 exit $the_test->run();