diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2008-05-01 00:20:01 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2008-05-01 00:20:01 +0000 |
commit | 848a13654d594dfab866f7b71db610211a1125a6 (patch) | |
tree | c9fb3b28c31fa34f672c6fd7769b890ef82d6e6d /tests/data/test1029 | |
parent | 1cca8f5a30c8684a18b8b20718c4550b567d8cf6 (diff) |
Added precheck for hard-coded test server address and port
Diffstat (limited to 'tests/data/test1029')
-rw-r--r-- | tests/data/test1029 | 4 |
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" |