aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Arntsen <tor@spacetec.no>2010-09-09 12:26:36 +0200
committerTor Arntsen <tor@spacetec.no>2010-09-09 12:42:28 +0200
commitc3c4626fab87349de2e6d973c482316a669395e1 (patch)
tree495c6b3dfd123698cb51d3e0a9f991572d5d07d4
parent9808480860ef7b547235f03fadddc704841d8656 (diff)
test565: Don't hardcode IP:PORT
Use %HOSTIP:%HTTPPORT instead of 127.0.0.1:8990 so that verification works if the baseport change option is used when executing runtests.pl.
-rw-r--r--tests/data/test5654
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/data/test565 b/tests/data/test565
index 838941fef..fdf75a5f8 100644
--- a/tests/data/test565
+++ b/tests/data/test565
@@ -74,7 +74,7 @@ http://%HOSTIP:%HTTPPORT/565
<verify>
<protocol>
POST /565 HTTP/1.1
-Host: 127.0.0.1:8990
+Host: %HOSTIP:%HTTPPORT
Accept: */*
Transfer-Encoding: chunked
Content-Type: application/x-www-form-urlencoded
@@ -84,7 +84,7 @@ Content-Type: application/x-www-form-urlencoded
POST /565 HTTP/1.1
Authorization: Digest username="foo", realm="testrealm", nonce="1053604144", uri="/565", response="877424f750af047634dbd94f9933217b"
-Host: 127.0.0.1:8990
+Host: %HOSTIP:%HTTPPORT
Accept: */*
Transfer-Encoding: chunked
Content-Type: application/x-www-form-urlencoded