From f99b007cd8cd421442ee25f6543699b4cb7eaacf Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 17 Apr 2020 11:42:49 +0200 Subject: test1056: work with dynamic HTTP ipv6 port --- tests/data/test1056 | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/data/test1056 b/tests/data/test1056 index 52b013614..756d0f27f 100644 --- a/tests/data/test1056 +++ b/tests/data/test1056 @@ -13,7 +13,7 @@ IPv6 HTTP/1.1 302 OK swsclose -Location: http://[::1%259999]:8994/moo/10560002 +Location: http://[::1%259999]:%HTTP6PORT/moo/10560002 Date: Thu, 31 Jul 2008 14:49:00 GMT Connection: close @@ -27,7 +27,7 @@ body HTTP/1.1 302 OK swsclose -Location: http://[::1%259999]:8994/moo/10560002 +Location: http://[::1%259999]:%HTTP6PORT/moo/10560002 Date: Thu, 31 Jul 2008 14:49:00 GMT Connection: close @@ -55,10 +55,6 @@ HTTP follow redirect from IPv4 to IPv6 with scope http://%HOSTIP:%HTTPPORT/we/are/all/twits/1056 -L -# The data section doesn't do variable substitution, so we must assert this - -perl -e "print 'Test requires default test server host and port' if ( '%HOST6IP' ne '[::1]' || '%HTTP6PORT' ne '8994' );" - # -- cgit v1.2.3