From 848a13654d594dfab866f7b71db610211a1125a6 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 1 May 2008 00:20:01 +0000 Subject: Added precheck for hard-coded test server address and port --- tests/data/test1029 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/data/test1029 b/tests/data/test1029 index c91feafc4..11e17764a 100644 --- a/tests/data/test1029 +++ b/tests/data/test1029 @@ -30,6 +30,10 @@ HTTP Location: and 'redirect_url' check http://%HOSTIP:%HTTPPORT/we/want/our/1029 -w '%{redirect_url}\n' +# The stdout section doesn't do variable substitution, so we must assert this + +perl -e "print 'Test requires default test server host and port' if ( '%HOSTIP' ne '127.0.0.1' || '%HTTPPORT' ne '8990' );" + # Verify data after the test has been "shot" -- cgit v1.2.3