projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cca8f5
)
Added precheck for hard-coded test server address and port
author
Dan Fandrich
<dan@coneharvesters.com>
Thu, 1 May 2008 00:20:01 +0000
(
00:20
+0000)
committer
Dan Fandrich
<dan@coneharvesters.com>
Thu, 1 May 2008 00:20:01 +0000
(
00:20
+0000)
tests/data/test1029
patch
|
blob
|
history
diff --git
a/tests/data/test1029
b/tests/data/test1029
index
c91feaf
..
11e1776
100644
(file)
--- 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"