X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-iri-list.px;h=ad88e4c416a7fa9715fee7be9ef65ce9a54f49ad;hp=8110358a7c0404473cc4f666fcceb8d2fc0c9eaa;hb=HEAD;hpb=986cfac8d5e2dddf00615bcc11ef6d8ed7a15a55 diff --git a/tests/Test-iri-list.px b/tests/Test-iri-list.px index 8110358a..ad88e4c4 100755 --- a/tests/Test-iri-list.px +++ b/tests/Test-iri-list.px @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; @@ -143,7 +143,7 @@ my %urls = ( }, ); -my $cmdline = $WgetTest::WGETPATH . " --iri -d -i http://localhost:{{port}}/url_list.txt"; +my $cmdline = $WgetTest::WGETPATH . " --iri --trust-server-names -i http://localhost:{{port}}/url_list.txt"; my $expected_error_code = 0; @@ -165,9 +165,9 @@ my %expected_downloaded_files = ( ############################################################################### my $the_test = HTTPTest->new (name => "Test-iri-list", - input => \%urls, - cmdline => $cmdline, - errcode => $expected_error_code, + input => \%urls, + cmdline => $cmdline, + errcode => $expected_error_code, output => \%expected_downloaded_files); exit $the_test->run();