aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-05-01 00:20:01 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-05-01 00:20:01 +0000
commit848a13654d594dfab866f7b71db610211a1125a6 (patch)
treec9fb3b28c31fa34f672c6fd7769b890ef82d6e6d /tests
parent1cca8f5a30c8684a18b8b20718c4550b567d8cf6 (diff)
Added precheck for hard-coded test server address and port
Diffstat (limited to 'tests')
-rw-r--r--tests/data/test10294
1 files changed, 4 insertions, 0 deletions
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
<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"