X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=tests%2FTest-ftp-iri.px;h=cf2a5815d28513ef148bcbe569fd12342eb7b227;hb=4a08094db88011153adadbf995103770b20d2a31;hp=78e2622c51ccbb5d613b8bd0eb4305a8f7a31314;hpb=4f3dd6817348433eafde04a3c2946f43364de7ef;p=wget diff --git a/tests/Test-ftp-iri.px b/tests/Test-ftp-iri.px index 78e2622c..cf2a5815 100755 --- a/tests/Test-ftp-iri.px +++ b/tests/Test-ftp-iri.px @@ -3,6 +3,7 @@ use strict; use warnings; +use WgetFeature qw(iri); use FTPTest; @@ -25,7 +26,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; @@ -38,9 +39,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();