From: Marc Hoersken Date: Tue, 10 Mar 2020 02:56:50 +0000 (+0100) Subject: tests/data: fix static ip:port instead of dynamic values being used X-Git-Tag: curl-7_69_1~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=94ced8e;p=thirdparty%2Fcurl.git tests/data: fix static ip:port instead of dynamic values being used Closes #5065 --- diff --git a/tests/data/test1293 b/tests/data/test1293 index 11a28a3265..e2143d1033 100644 --- a/tests/data/test1293 +++ b/tests/data/test1293 @@ -52,7 +52,7 @@ s/boundary=------------------------[a-z0-9]*/boundary=-------------------------- POST /1293 HTTP/1.1 -Host: 127.0.0.1:8990 +Host: %HOSTIP:%HTTPPORT Accept: */* Content-Length: 126 Content-Type: multipart/form-data; boundary=---------------------------- diff --git a/tests/data/test2078 b/tests/data/test2078 index 99bc2dbee1..51ace296a6 100644 --- a/tests/data/test2078 +++ b/tests/data/test2078 @@ -43,7 +43,7 @@ http://%HOSTIP:%HTTPPORT/2078 -u : --negotiate --data name=value POST /2078 HTTP/1.1 -Host: 127.0.0.1:8990 +Host: %HOSTIP:%HTTPPORT Accept: */* Content-Length: 10 Content-Type: application/x-www-form-urlencoded diff --git a/tests/data/test490 b/tests/data/test490 index a3383a9d1d..86ebb01124 100644 --- a/tests/data/test490 +++ b/tests/data/test490 @@ -50,14 +50,14 @@ surprise! PUT /490 HTTP/1.1 -Host: 127.0.0.1:8990 +Host: %HOSTIP:%HTTPPORT Accept: */* Content-Length: 10 Expect: 100-continue surprise! PUT /490 HTTP/1.1 -Host: 127.0.0.1:8990 +Host: %HOSTIP:%HTTPPORT Accept: */* Content-Length: 10 Expect: 100-continue diff --git a/tests/data/test491 b/tests/data/test491 index b49c06ce71..c230dfb782 100644 --- a/tests/data/test491 +++ b/tests/data/test491 @@ -50,7 +50,7 @@ surprise! PUT /491 HTTP/1.1 -Host: 127.0.0.1:8990 +Host: %HOSTIP:%HTTPPORT Accept: */* Content-Length: 10 Expect: 100-continue diff --git a/tests/data/test492 b/tests/data/test492 index 12edd8bc00..ddb0405ef7 100644 --- a/tests/data/test492 +++ b/tests/data/test492 @@ -53,7 +53,7 @@ second 492 contents PUT /one/first492 HTTP/1.1 -Host: 127.0.0.1:8990 +Host: %HOSTIP:%HTTPPORT Accept: */* Testno: 492 Content-Length: 19 @@ -61,7 +61,7 @@ Expect: 100-continue first 492 contents PUT /two/first492 HTTP/1.1 -Host: 127.0.0.1:8990 +Host: %HOSTIP:%HTTPPORT Accept: */* Testno: 492 Content-Length: 19 @@ -69,7 +69,7 @@ Expect: 100-continue first 492 contents PUT /one/second492 HTTP/1.1 -Host: 127.0.0.1:8990 +Host: %HOSTIP:%HTTPPORT Accept: */* Testno: 492 Content-Length: 20 @@ -77,7 +77,7 @@ Expect: 100-continue second 492 contents PUT /two/second492 HTTP/1.1 -Host: 127.0.0.1:8990 +Host: %HOSTIP:%HTTPPORT Accept: */* Testno: 492 Content-Length: 20