diff options
author | Daniel Stenberg <daniel@haxx.se> | 2008-05-01 10:52:12 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2008-05-01 10:52:12 +0000 |
commit | fd31f7e7e5db686809806154e6326d181b04e150 (patch) | |
tree | 49bb1fdee3125ad10f7db5de934032780c774bde /tests/data | |
parent | 7b2531da244f4756c6652c627651bec7f0e91690 (diff) |
use variables to support other IPs and port numbers
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/test1029 | 6 |
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> |