X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-idn-meta.px;h=9fdbbd05381388043bd2137d2c7db281a9ec0eb2;hp=3d6e0563fd16e9777aa91e05ff88a1e157ef159b;hb=320cfdcb658e8d6556ae9dfd902c2db1db866a6b;hpb=0fa023cfffc896d72ba36a8789154630e585435a diff --git a/tests/Test-idn-meta.px b/tests/Test-idn-meta.px index 3d6e0563..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; @@ -56,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();