]> sjero.net Git - wget/blobdiff - tests/Test-idn-cmd.px
Attempted, but failed, to reproduce bug 22403.
[wget] / tests / Test-idn-cmd.px
index dba981838461df0a3a3e34f02ad129888c7ac9f6..4f92ea0ca6b1dfb2cbeb1e4dfa0698428a83a2a1 100755 (executable)
@@ -3,6 +3,7 @@
 use strict;
 use warnings;
 
+use WgetFeature qw(iri);
 use HTTPTest;
 
 # " Kon'nichiwa <dot> Japan
@@ -28,7 +29,7 @@ my %urls = (
 );
 
 my $cmdline = $WgetTest::WGETPATH . " --debug --iri -rH"
-    . " -e http_proxy=localhost:{{port}} --locale=EUC-JP $euc_jp_hostname";
+    . " -e http_proxy=localhost:{{port}} --local-encoding=EUC-JP $euc_jp_hostname";
 
 my $expected_error_code = 0;
 
@@ -40,7 +41,7 @@ my %expected_downloaded_files = (
 
 ###############################################################################
 
-my $the_test = HTTPTest->new (name => "Test-iri-cmd",
+my $the_test = HTTPTest->new (name => "Test-idn-cmd",
                               input => \%urls, 
                               cmdline => $cmdline, 
                               errcode => $expected_error_code,