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