]> sjero.net Git - wget/blobdiff - tests/Test-idn-cmd.px
Attempted, but failed, to reproduce bug 22403.
[wget] / tests / Test-idn-cmd.px
index a5c156a2b3113fe304ca3131bf10fae82661a559..4f92ea0ca6b1dfb2cbeb1e4dfa0698428a83a2a1 100755 (executable)
@@ -1,7 +1,9 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
 
 use strict;
+use warnings;
 
+use WgetFeature qw(iri);
 use HTTPTest;
 
 # " Kon'nichiwa <dot> Japan
@@ -27,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;
 
@@ -39,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,