From: Daniel Stenberg Date: Thu, 1 May 2008 10:52:12 +0000 (+0000) Subject: use variables to support other IPs and port numbers X-Git-Tag: cares-1_5_2~105 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fd31f7e7e5db686809806154e6326d181b04e150;p=curl use variables to support other IPs and port numbers --- 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 http://%HOSTIP:%HTTPPORT/we/want/our/1029 -w '%{redirect_url}\n' -# The stdout section doesn't do variable substitution, so we must assert this - -perl -e "print 'Test requires default test server host and port' if ( '%HOSTIP' ne '127.0.0.1' || '%HTTPPORT' ne '8990' );" - # 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