aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-05-01 10:52:12 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-05-01 10:52:12 +0000
commitfd31f7e7e5db686809806154e6326d181b04e150 (patch)
tree49bb1fdee3125ad10f7db5de934032780c774bde
parent7b2531da244f4756c6652c627651bec7f0e91690 (diff)
use variables to support other IPs and port numbers
-rw-r--r--tests/data/test10296
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/data/test1029 b/tests/data/test1029
index 11e17764a..8e8de8b47 100644
--- a/tests/data/test1029
+++ b/tests/data/test1029
@@ -30,10 +30,6 @@ HTTP Location: and 'redirect_url' check
<command>
http://%HOSTIP:%HTTPPORT/we/want/our/1029 -w '%{redirect_url}\n'
</command>
-# The stdout section doesn't do variable substitution, so we must assert this
-<precheck>
-perl -e "print 'Test requires default test server host and port' if ( '%HOSTIP' ne '127.0.0.1' || '%HTTPPORT' ne '8990' );"
-</precheck>
</client>
# Verify data after the test has been "shot"
@@ -54,7 +50,7 @@ Content-Length: 62
Connection: close
This server reply is for testing a simple Location: following
-http://127.0.0.1:8990/we/want/our/data/10290002.txt?coolsite=yes
+http://%HOSTIP:%HTTPPORT/we/want/our/data/10290002.txt?coolsite=yes
</stdout>
</verify>
</testcase>