aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-04-17 11:42:49 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-04-18 22:48:24 +0200
commitf99b007cd8cd421442ee25f6543699b4cb7eaacf (patch)
tree7bd83c7d215ab522e4975053f38aa3d9eac965ae /tests/data
parent721f24d6fc4db47858d1ddc0ea482825331eb327 (diff)
test1056: work with dynamic HTTP ipv6 port
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/test10568
1 files 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
<reply>
<data>
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
</data2>
<datacheck>
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
<command>
http://%HOSTIP:%HTTPPORT/we/are/all/twits/1056 -L
</command>
-# The data section doesn't do variable substitution, so we must assert this
-<precheck>
-perl -e "print 'Test requires default test server host and port' if ( '%HOST6IP' ne '[::1]' || '%HTTP6PORT' ne '8994' );"
-</precheck>
</client>
#