aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test18
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/test18
parent702f549a6a0126923806132a3b45621f55a8a0af (diff)
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/test18')
-rw-r--r--tests/data/test1814
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/data/test18 b/tests/data/test18
index 67a8361f5..38519b46d 100644
--- a/tests/data/test18
+++ b/tests/data/test18
@@ -32,7 +32,7 @@ http
multiple requests using {} in URL
</name>
<command>
-'%HOSTIP:%HOSTPORT/{18,180002,180003}'
+'%HOSTIP:%HTTPPORT/{18,180002,180003}'
</command>
</test>
@@ -44,37 +44,37 @@ multiple requests using {} in URL
<protocol>
GET /18 HTTP/1.1
User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)
-Host: 127.0.0.1:8999
+Host: 127.0.0.1:%HTTPPORT
Pragma: no-cache
Accept: */*
GET /180002 HTTP/1.1
User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)
-Host: 127.0.0.1:8999
+Host: 127.0.0.1:%HTTPPORT
Pragma: no-cache
Accept: */*
GET /180003 HTTP/1.1
User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)
-Host: 127.0.0.1:8999
+Host: 127.0.0.1:%HTTPPORT
Pragma: no-cache
Accept: */*
</protocol>
<stdout>
---_curl_--127.0.0.1:8999/18
+--_curl_--127.0.0.1:%HTTPPORT/18
HTTP/1.1 200 OK
Funny-head: yesyes
Content-Length: 4
moo
---_curl_--127.0.0.1:8999/180002
+--_curl_--127.0.0.1:%HTTPPORT/180002
HTTP/1.1 200 OK
Funny-head: yesyes
Content-Length: 4
foo
---_curl_--127.0.0.1:8999/180003
+--_curl_--127.0.0.1:%HTTPPORT/180003
HTTP/1.1 200 OK
Funny-head: yesyes
Content-Length: 4