1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

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

View File

@ -30,6 +30,10 @@ HTTP Location: and 'redirect_url' check
<command> <command>
http://%HOSTIP:%HTTPPORT/we/want/our/1029 -w '%{redirect_url}\n' http://%HOSTIP:%HTTPPORT/we/want/our/1029 -w '%{redirect_url}\n'
</command> </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> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"