X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=tests%2FTest-idn-robots.px;h=b10163dc3835f8931a16bb29d46ece444a460a26;hb=4a08094db88011153adadbf995103770b20d2a31;hp=bc9084efd698e12caa13da0893efd168154e2c64;hpb=4f3dd6817348433eafde04a3c2946f43364de7ef;p=wget diff --git a/tests/Test-idn-robots.px b/tests/Test-idn-robots.px index bc9084ef..b10163dc 100755 --- a/tests/Test-idn-robots.px +++ b/tests/Test-idn-robots.px @@ -3,6 +3,7 @@ use strict; use warnings; +use WgetFeature qw(iri); use HTTPTest; # " Kon'nichiwa Japan @@ -48,7 +49,7 @@ my %urls = ( ); my $cmdline = $WgetTest::WGETPATH . " --debug --iri -rH" - . " -e http_proxy=localhost:{{port}} --locale=EUC-JP" + . " -e http_proxy=localhost:{{port}} --local-encoding=EUC-JP" . " http://$euc_jp_hostname/"; my $expected_error_code = 0; @@ -68,9 +69,9 @@ my %expected_downloaded_files = ( ############################################################################### my $the_test = HTTPTest->new (name => "Test-idn-robots", - input => \%urls, - cmdline => $cmdline, - errcode => $expected_error_code, + input => \%urls, + cmdline => $cmdline, + errcode => $expected_error_code, output => \%expected_downloaded_files); exit $the_test->run();