X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-idn-meta.px;h=9fdbbd05381388043bd2137d2c7db281a9ec0eb2;hp=2734e1eaf537ffc1d586c944979e5a4a61f556cc;hb=HEAD;hpb=d5e283b1a75c5f8249300b465b4e7b55130bec49 diff --git a/tests/Test-idn-meta.px b/tests/Test-idn-meta.px index 2734e1ea..9fdbbd05 100755 --- a/tests/Test-idn-meta.px +++ b/tests/Test-idn-meta.px @@ -1,8 +1,9 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; +use WgetFeature qw(iri); use HTTPTest; # " Kon'nichiwa Japan @@ -40,7 +41,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; @@ -57,9 +58,9 @@ my %expected_downloaded_files = ( ############################################################################### my $the_test = HTTPTest->new (name => "Test-idn-meta", - input => \%urls, - cmdline => $cmdline, - errcode => $expected_error_code, + input => \%urls, + cmdline => $cmdline, + errcode => $expected_error_code, output => \%expected_downloaded_files); exit $the_test->run();