Skip to content
Snippets Groups Projects
Commit fd31f7e7 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

use variables to support other IPs and port numbers

parent 7b2531da
No related branches found
No related tags found
No related merge requests found
......@@ -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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment