use variables to support other IPs and port numbers
This commit is contained in:
Родитель
7b2531da24
Коммит
fd31f7e7e5
|
@ -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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче