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.
This commit is contained in:
Daniel Stenberg
2004-09-08 08:08:38 +00:00
parent 702f549a6a
commit 2b1673c9c8
145 changed files with 388 additions and 351 deletions

View File

@@ -120,7 +120,7 @@ http
HTTP with NTLM via --anyauth, and then follow-location with NTLM again
</name>
<command>
http://%HOSTIP:%HOSTPORT/90 -u testuser:testpass --anyauth -L
http://%HOSTIP:%HTTPPORT/90 -u testuser:testpass --anyauth -L
</command>
</test>
@@ -131,40 +131,40 @@ http://%HOSTIP:%HOSTPORT/90 -u testuser:testpass --anyauth -L
</strip>
<protocol>
GET /90 HTTP/1.1
Host: 127.0.0.1:8999
Host: 127.0.0.1:%HTTPPORT
Pragma: no-cache
Accept: */*
GET /90 HTTP/1.1
Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA=
User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 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: */*
GET /90 HTTP/1.1
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEgAAAAYABgAYAAAAAAAAABAAAAACAAIAEAAAAAAAAAASAAAAAAAAAB4AAAAAYIAAHRlc3R1c2VyWmRDApEJkUyGOPS3DjvASModEeW/N/FBqYVyF4y6/y/7F6qmEQ7lXjXFF3tH1145
User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 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: */*
GET /you/900010 HTTP/1.1
Host: 127.0.0.1:8999
Host: 127.0.0.1:%HTTPPORT
Pragma: no-cache
Accept: */*
GET /you/900010 HTTP/1.1
Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA=
User-Agent: curl/7.10.8-pre1 (i686-pc-linux-gnu) libcurl/7.10.8-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3 GSS
Host: 127.0.0.1:8999
Host: 127.0.0.1:%HTTPPORT
Pragma: no-cache
Accept: */*
GET /you/900010 HTTP/1.1
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEgAAAAYABgAYAAAAAAAAABAAAAACAAIAEAAAAAAAAAASAAAAAAAAAB4AAAAAYIAAHRlc3R1c2VyWmRDApEJkUyGOPS3DjvASModEeW/N/FBqYVyF4y6/y/7F6qmEQ7lXjXFF3tH1145
User-Agent: curl/7.10.8-pre1 (i686-pc-linux-gnu) libcurl/7.10.8-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3 GSS
Host: 127.0.0.1:8999
Host: 127.0.0.1:%HTTPPORT
Pragma: no-cache
Accept: */*