Commit 848a1365 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

Added precheck for hard-coded test server address and port

parent 1cca8f5a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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"