From 1228ec9fbb7db2d6f1615e8736be66d5c6f698d2 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Mon, 30 Apr 2007 19:05:48 +0000 Subject: Fixed some tests to stop hard-coding the port number. --- tests/data/test239 | 4 ++-- tests/data/test243 | 8 ++++---- tests/data/test245 | 4 ++-- tests/data/test246 | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) (limited to 'tests') 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/ -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" 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" 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 -- cgit v1.2.3