]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tests/data: fix static ip:port instead of dynamic values being used
authorMarc Hoersken <info@marc-hoersken.de>
Tue, 10 Mar 2020 02:56:50 +0000 (03:56 +0100)
committerMarc Hoersken <info@marc-hoersken.de>
Tue, 10 Mar 2020 02:56:50 +0000 (03:56 +0100)
Closes #5065

tests/data/test1293
tests/data/test2078
tests/data/test490
tests/data/test491
tests/data/test492

index 11a28a32653d55f1393cfbbe30418a1e3b15aabc..e2143d1033da6ff42c526a850169551144ca106b 100644 (file)
@@ -52,7 +52,7 @@ s/boundary=------------------------[a-z0-9]*/boundary=--------------------------
 </strippart>
 <protocol>
 POST /1293 HTTP/1.1\r
-Host: 127.0.0.1:8990\r
+Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
 Content-Length: 126\r
 Content-Type: multipart/form-data; boundary=----------------------------\r
index 99bc2dbee12232cf9904497bbc66717d9dada34e..51ace296a67d9499f9cfe9596d2eb80169aa5479 100644 (file)
@@ -43,7 +43,7 @@ http://%HOSTIP:%HTTPPORT/2078 -u : --negotiate --data name=value
 </strip>
 <protocol nonewline="yes">
 POST /2078 HTTP/1.1\r
-Host: 127.0.0.1:8990\r
+Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
 Content-Length: 10\r
 Content-Type: application/x-www-form-urlencoded\r
index a3383a9d1d04b9b8e4e1c434e40155d94de4a1c0..86ebb01124259f62f7d578247681b667d7f1f3f3 100644 (file)
@@ -50,14 +50,14 @@ surprise!
 </strip>
 <protocol>
 PUT /490 HTTP/1.1\r
-Host: 127.0.0.1:8990\r
+Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
 Content-Length: 10\r
 Expect: 100-continue\r
 \r
 surprise!
 PUT /490 HTTP/1.1\r
-Host: 127.0.0.1:8990\r
+Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
 Content-Length: 10\r
 Expect: 100-continue\r
index b49c06ce71293cc14a81e0a31957446c33e50ff1..c230dfb78248f56687a1eace6e011abf28f3691b 100644 (file)
@@ -50,7 +50,7 @@ surprise!
 </strip>
 <protocol>
 PUT /491 HTTP/1.1\r
-Host: 127.0.0.1:8990\r
+Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
 Content-Length: 10\r
 Expect: 100-continue\r
index 12edd8bc00f4371f9a21fb651ccf49b608b7082d..ddb0405ef7291910e17de7500f3484b62cebc26f 100644 (file)
@@ -53,7 +53,7 @@ second 492 contents
 </strip>
 <protocol>
 PUT /one/first492 HTTP/1.1\r
-Host: 127.0.0.1:8990\r
+Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
 Testno: 492\r
 Content-Length: 19\r
@@ -61,7 +61,7 @@ Expect: 100-continue
 \r
 first 492 contents
 PUT /two/first492 HTTP/1.1\r
-Host: 127.0.0.1:8990\r
+Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
 Testno: 492\r
 Content-Length: 19\r
@@ -69,7 +69,7 @@ Expect: 100-continue
 \r
 first 492 contents
 PUT /one/second492 HTTP/1.1\r
-Host: 127.0.0.1:8990\r
+Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
 Testno: 492\r
 Content-Length: 20\r
@@ -77,7 +77,7 @@ Expect: 100-continue
 \r
 second 492 contents
 PUT /two/second492 HTTP/1.1\r
-Host: 127.0.0.1:8990\r
+Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
 Testno: 492\r
 Content-Length: 20\r