From: Mike Frysinger Date: Sun, 12 Sep 2010 13:21:50 +0000 (+0200) Subject: tests: Fix some failures because of missing --trust-server-names X-Git-Tag: v1.13~102 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=63473a26631297fd4c4648d2989ee04ce49af92b;hp=822a32d813757ecf5cd0691bdfe22f8ba5d72336 tests: Fix some failures because of missing --trust-server-names --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 5aee4469..654ad00e 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,11 @@ +2010-09-12 Mike Frysinger + + Fix some tests failures. + * Test-iri-forced-remote.px: Use --trust-server-names to the cmdline + variable. + * Test-iri-list.px: Likewise. + * Test-iri.px: Likewise. + 2010-06-04 Giuseppe Scrivano * Test--no-content-disposition-trivial.px: Use /usr/bin/env to find the diff --git a/tests/Test-iri-forced-remote.px b/tests/Test-iri-forced-remote.px index e5e863fd..d1bed72c 100755 --- a/tests/Test-iri-forced-remote.px +++ b/tests/Test-iri-forced-remote.px @@ -174,7 +174,7 @@ my %urls = ( }, ); -my $cmdline = $WgetTest::WGETPATH . " --iri --remote-encoding=iso-8859-1 -nH -r http://localhost:{{port}}/"; +my $cmdline = $WgetTest::WGETPATH . " --iri --trust-server-names --remote-encoding=iso-8859-1 -nH -r http://localhost:{{port}}/"; my $expected_error_code = 0; diff --git a/tests/Test-iri-list.px b/tests/Test-iri-list.px index 96901533..ad88e4c4 100755 --- a/tests/Test-iri-list.px +++ b/tests/Test-iri-list.px @@ -143,7 +143,7 @@ my %urls = ( }, ); -my $cmdline = $WgetTest::WGETPATH . " --iri -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; diff --git a/tests/Test-iri.px b/tests/Test-iri.px index 8d4aa17e..4865a1cd 100755 --- a/tests/Test-iri.px +++ b/tests/Test-iri.px @@ -186,7 +186,7 @@ my %urls = ( }, ); -my $cmdline = $WgetTest::WGETPATH . " --iri --restrict-file-names=nocontrol -nH -r http://localhost:{{port}}/"; +my $cmdline = $WgetTest::WGETPATH . " --iri --trust-server-names --restrict-file-names=nocontrol -nH -r http://localhost:{{port}}/"; my $expected_error_code = 0;