]> sjero.net Git - wget/blobdiff - tests/Test-idn-headers.px
Add new test.
[wget] / tests / Test-idn-headers.px
index f07621c326ac0a22e2d3391e8d743d8caec2a13d..16963f241d5ec4f90c83749a8198a0bffe89454f 100755 (executable)
@@ -3,6 +3,7 @@
 use strict;
 use warnings;
 
+use WgetFeature qw(iri);
 use HTTPTest;
 
 # " Kon'nichiwa <dot> Japan
@@ -39,7 +40,7 @@ my %urls = (
     },
 );
 
-my $cmdline = $WgetTest::WGETPATH . " --debug --iri -rH"
+my $cmdline = $WgetTest::WGETPATH . " --iri -rH"
     . " -e http_proxy=localhost:{{port}} http://start-here.com/start.html";
 
 my $expected_error_code = 0;
@@ -55,10 +56,10 @@ my %expected_downloaded_files = (
 
 ###############################################################################
 
-my $the_test = HTTPTest->new (name => "Test-iri-headers",
-                              input => \%urls, 
-                              cmdline => $cmdline, 
-                              errcode => $expected_error_code, 
+my $the_test = HTTPTest->new (name => "Test-idn-headers",
+                              input => \%urls,
+                              cmdline => $cmdline,
+                              errcode => $expected_error_code,
                               output => \%expected_downloaded_files);
 exit $the_test->run();