]> granicus.if.org Git - curl/commitdiff
Fixed some tests to stop hard-coding the port number.
authorDan Fandrich <dan@coneharvesters.com>
Mon, 30 Apr 2007 19:05:48 +0000 (19:05 +0000)
committerDan Fandrich <dan@coneharvesters.com>
Mon, 30 Apr 2007 19:05:48 +0000 (19:05 +0000)
tests/data/test239
tests/data/test243
tests/data/test245
tests/data/test246

index 0f6bb249aee979c570d62b4dc2d84a5ea291c5d0..29d44af7e0792671848d1f105ac1727c5c048a47 100644 (file)
@@ -73,10 +73,10 @@ Proxy-Connection: Keep-Alive
 Content-Length: 0\r
 Content-Type: application/x-www-form-urlencoded\r
 \r
-POST http://127.0.0.1:8990/239 HTTP/1.1\r
+POST http://%HOSTIP:%HTTPPORT/239 HTTP/1.1\r
 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAA
 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13\r
-Host: 127.0.0.1:8990\r
+Host: %HOSTIP:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Proxy-Connection: Keep-Alive\r
index fcb10885c950430716e75178affa121a5a2e41ff..376310d3176cecde88d64e39066a56d124510e7f 100644 (file)
@@ -91,9 +91,9 @@ http://%HOSTIP:%HTTPPORT/243 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly
 s/^(Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAA).*/$1/
 </strippart>
 <protocol nonewline="yes">
-POST http://127.0.0.1:8990/243 HTTP/1.1\r
+POST http://%HOSTIP:%HTTPPORT/243 HTTP/1.1\r
 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13\r
-Host: 127.0.0.1:8990\r
+Host: %HOSTIP:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Proxy-Connection: Keep-Alive\r
@@ -110,10 +110,10 @@ Proxy-Connection: Keep-Alive
 Content-Length: 0\r
 Content-Type: application/x-www-form-urlencoded\r
 \r
-POST http://127.0.0.1:8990/243 HTTP/1.1\r
+POST http://%HOSTIP:%HTTPPORT/243 HTTP/1.1\r
 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAA
 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13\r
-Host: 127.0.0.1:8990\r
+Host: %HOSTIP:%HTTPPORT\r
 Pragma: no-cache\r
 Accept: */*\r
 Proxy-Connection: Keep-Alive\r
index 7ee0e7c44af0541a90b9f78a32ddc00ae1d7ac67..1804e7375befc9669ebcc0dfb6ff77b349691337 100644 (file)
@@ -60,7 +60,7 @@ http://%HOSTIP:%HTTPPORT/245 -u auser:apasswd --digest -d "junkelijunk"
 <protocol nonewline="yes">
 POST /245 HTTP/1.1\r
 User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6\r
-Host: 127.0.0.1:%HTTPPORT\r
+Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
 Content-Length: 0\r
 Content-Type: application/x-www-form-urlencoded\r
@@ -68,7 +68,7 @@ Content-Type: application/x-www-form-urlencoded
 POST /245 HTTP/1.1\r
 Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/245", response="379a439b1737ba257c1d2f103914b18b"\r
 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13\r
-Host: 127.0.0.1:8990\r
+Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
 Content-Length: 11\r
 Content-Type: application/x-www-form-urlencoded\r
index b0b4e55e79f7c8fe22a08d8e307953439d5fbab9..8af77707921e46b772371b35618a43a6e14e330a 100644 (file)
@@ -70,7 +70,7 @@ http://%HOSTIP:%HTTPPORT/246 -u auser:apasswd --digest -d "junkelijunk"
 <protocol nonewline="yes">
 POST /246 HTTP/1.1\r
 User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6\r
-Host: 127.0.0.1:%HTTPPORT\r
+Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
 Content-Length: 0\r
 Content-Type: application/x-www-form-urlencoded\r
@@ -78,7 +78,7 @@ Content-Type: application/x-www-form-urlencoded
 POST /246 HTTP/1.1\r
 Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/246", response="761e6fc9a760c39d587092e8d840e740"\r
 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13\r
-Host: 127.0.0.1:8990\r
+Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
 Content-Length: 11\r
 Content-Type: application/x-www-form-urlencoded\r