summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-04-30 19:05:48 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-04-30 19:05:48 +0000
commit1228ec9fbb7db2d6f1615e8736be66d5c6f698d2 (patch)
tree045fd1e997a03f77310f1ffb055ff5f906da6696
parent717adfeb96579d1aeda8102ac47d35a67cdc16d0 (diff)
downloadgnurl-1228ec9fbb7db2d6f1615e8736be66d5c6f698d2.tar.gz
gnurl-1228ec9fbb7db2d6f1615e8736be66d5c6f698d2.tar.bz2
gnurl-1228ec9fbb7db2d6f1615e8736be66d5c6f698d2.zip
Fixed some tests to stop hard-coding the port number.
-rw-r--r--tests/data/test2394
-rw-r--r--tests/data/test2438
-rw-r--r--tests/data/test2454
-rw-r--r--tests/data/test2464
4 files changed, 10 insertions, 10 deletions
diff --git a/tests/data/test239 b/tests/data/test239
index 0f6bb249a..29d44af7e 100644
--- a/tests/data/test239
+++ b/tests/data/test239
@@ -73,10 +73,10 @@ Proxy-Connection: Keep-Alive
Content-Length: 0
Content-Type: application/x-www-form-urlencoded
-POST http://127.0.0.1:8990/239 HTTP/1.1
+POST http://%HOSTIP:%HTTPPORT/239 HTTP/1.1
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
-Host: 127.0.0.1:8990
+Host: %HOSTIP:%HTTPPORT
Pragma: no-cache
Accept: */*
Proxy-Connection: Keep-Alive
diff --git a/tests/data/test243 b/tests/data/test243
index fcb10885c..376310d31 100644
--- a/tests/data/test243
+++ b/tests/data/test243
@@ -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
+POST http://%HOSTIP:%HTTPPORT/243 HTTP/1.1
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
-Host: 127.0.0.1:8990
+Host: %HOSTIP:%HTTPPORT
Pragma: no-cache
Accept: */*
Proxy-Connection: Keep-Alive
@@ -110,10 +110,10 @@ Proxy-Connection: Keep-Alive
Content-Length: 0
Content-Type: application/x-www-form-urlencoded
-POST http://127.0.0.1:8990/243 HTTP/1.1
+POST http://%HOSTIP:%HTTPPORT/243 HTTP/1.1
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
-Host: 127.0.0.1:8990
+Host: %HOSTIP:%HTTPPORT
Pragma: no-cache
Accept: */*
Proxy-Connection: Keep-Alive
diff --git a/tests/data/test245 b/tests/data/test245
index 7ee0e7c44..1804e7375 100644
--- a/tests/data/test245
+++ b/tests/data/test245
@@ -60,7 +60,7 @@ http://%HOSTIP:%HTTPPORT/245 -u auser:apasswd --digest -d "junkelijunk"
<protocol nonewline="yes">
POST /245 HTTP/1.1
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
-Host: 127.0.0.1:%HTTPPORT
+Host: %HOSTIP:%HTTPPORT
Accept: */*
Content-Length: 0
Content-Type: application/x-www-form-urlencoded
@@ -68,7 +68,7 @@ Content-Type: application/x-www-form-urlencoded
POST /245 HTTP/1.1
Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/245", response="379a439b1737ba257c1d2f103914b18b"
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
-Host: 127.0.0.1:8990
+Host: %HOSTIP:%HTTPPORT
Accept: */*
Content-Length: 11
Content-Type: application/x-www-form-urlencoded
diff --git a/tests/data/test246 b/tests/data/test246
index b0b4e55e7..8af777079 100644
--- a/tests/data/test246
+++ b/tests/data/test246
@@ -70,7 +70,7 @@ http://%HOSTIP:%HTTPPORT/246 -u auser:apasswd --digest -d "junkelijunk"
<protocol nonewline="yes">
POST /246 HTTP/1.1
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
-Host: 127.0.0.1:%HTTPPORT
+Host: %HOSTIP:%HTTPPORT
Accept: */*
Content-Length: 0
Content-Type: application/x-www-form-urlencoded
@@ -78,7 +78,7 @@ Content-Type: application/x-www-form-urlencoded
POST /246 HTTP/1.1
Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/246", response="761e6fc9a760c39d587092e8d840e740"
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
-Host: 127.0.0.1:8990
+Host: %HOSTIP:%HTTPPORT
Accept: */*
Content-Length: 11
Content-Type: application/x-www-form-urlencoded