summaryrefslogtreecommitdiff
path: root/tests/data/test156
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-09-08 08:08:38 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-09-08 08:08:38 +0000
commit2b1673c9c83f693fdf243607f9141e5e897e0ba8 (patch)
treee967f8e015573633ab666251360a31316abceb31 /tests/data/test156
parent702f549a6a0126923806132a3b45621f55a8a0af (diff)
downloadcurl-2b1673c9c83f693fdf243607f9141e5e897e0ba8.tar.gz
Now the test servers and test cases can run on a custom port number. There's
no fixed port numbers in use anymore. Starting now, the default ports the servers use are 8990 - 8993. There's no option to modify these yet, but changing the $base option in the top of the runtests.pl script.
Diffstat (limited to 'tests/data/test156')
-rw-r--r--tests/data/test1566
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/data/test156 b/tests/data/test156
index 94ac0ed98..f2f4aaabc 100644
--- a/tests/data/test156
+++ b/tests/data/test156
@@ -42,7 +42,7 @@ http
HTTP PUT with --anyauth (when the server requires none)
</name>
<command>
-http://%HOSTIP:%HOSTPORT/156 -T log/put156 -u testuser:testpass --anyauth
+http://%HOSTIP:%HTTPPORT/156 -T log/put156 -u testuser:testpass --anyauth
</command>
<file name="log/put156">
This is data we upload with PUT
@@ -59,13 +59,13 @@ four is the number of lines
</strip>
<protocol>
HEAD /156 HTTP/1.1
-Host: 127.0.0.1:8999
+Host: 127.0.0.1:%HTTPPORT
Pragma: no-cache
Accept: */*
PUT /156 HTTP/1.1
User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3
-Host: 127.0.0.1:8999
+Host: 127.0.0.1:%HTTPPORT
Pragma: no-cache
Accept: */*
Content-Length: 85