From 63473a26631297fd4c4648d2989ee04ce49af92b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 12 Sep 2010 15:21:50 +0200 Subject: [PATCH] tests: Fix some failures because of missing --trust-server-names --- tests/ChangeLog | 8 ++++++++ tests/Test-iri-forced-remote.px | 2 +- tests/Test-iri-list.px | 2 +- tests/Test-iri.px | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) 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; -- 2.39.2