X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-ftp-iri-disabled.px;h=53e4b486a428264cfffdd3c6edbc3e9c1f3d6148;hp=76330b1a9e2015370e8baa59782e5e77c4c3300b;hb=4a08094db88011153adadbf995103770b20d2a31;hpb=d5e283b1a75c5f8249300b465b4e7b55130bec49 diff --git a/tests/Test-ftp-iri-disabled.px b/tests/Test-ftp-iri-disabled.px index 76330b1a..53e4b486 100755 --- a/tests/Test-ftp-iri-disabled.px +++ b/tests/Test-ftp-iri-disabled.px @@ -3,6 +3,7 @@ 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; @@ -41,9 +42,9 @@ my %expected_downloaded_files = ( ############################################################################### my $the_test = FTPTest->new (name => "Test-ftp-iri", - input => \%urls, - cmdline => $cmdline, - errcode => $expected_error_code, + input => \%urls, + cmdline => $cmdline, + errcode => $expected_error_code, output => \%expected_downloaded_files); exit $the_test->run();