X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=tests%2FTest-ftp-iri-fallback.px;h=fa4cdc170b18f19b0d09a8f36c2bf695b367f3a7;hb=05fccaeed255e4976314c33a5a94f9438d53f666;hp=091fd00828e9bddd49e6d730bec4c3cac43402e5;hpb=4f3dd6817348433eafde04a3c2946f43364de7ef;p=wget diff --git a/tests/Test-ftp-iri-fallback.px b/tests/Test-ftp-iri-fallback.px index 091fd008..fa4cdc17 100755 --- a/tests/Test-ftp-iri-fallback.px +++ b/tests/Test-ftp-iri-fallback.px @@ -3,6 +3,7 @@ use strict; use warnings; +use WgetFeature qw(iri); use FTPTest; @@ -24,7 +25,7 @@ my %urls = ( }, ); -my $cmdline = $WgetTest::WGETPATH . " --locale=iso-8859-1 -S ftp://localhost:{{port}}/fran${ccedilla_l1}ais.txt"; +my $cmdline = $WgetTest::WGETPATH . " --local-encoding=iso-8859-1 -S ftp://localhost:{{port}}/fran${ccedilla_l1}ais.txt"; my $expected_error_code = 0; @@ -36,10 +37,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-fallback", + input => \%urls, + cmdline => $cmdline, + errcode => $expected_error_code, output => \%expected_downloaded_files); exit $the_test->run();