Added precheck for hard-coded test server address and port

This commit is contained in:
Dan Fandrich 2008-05-01 00:20:01 +00:00
parent 1cca8f5a30
commit 848a13654d
1 changed files with 4 additions and 0 deletions

View File

@ -30,6 +30,10 @@ 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"