summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2020-03-10 03:56:50 +0100
committerMarc Hoersken <info@marc-hoersken.de>2020-03-10 03:56:50 +0100
commit94ced8e368243fd53f8185d0cf1fbb5394f42ca6 (patch)
treebd8c51911c2edb4a31b0dc6c0bebf0c2a0ddee75
parent26c5ba0e653c22bc9313fc1d46019f0efd0091ce (diff)
downloadcurl-94ced8e368243fd53f8185d0cf1fbb5394f42ca6.tar.gz
tests/data: fix static ip:port instead of dynamic values being used
Closes #5065
-rw-r--r--tests/data/test12932
-rw-r--r--tests/data/test20782
-rw-r--r--tests/data/test4904
-rw-r--r--tests/data/test4912
-rw-r--r--tests/data/test4928
5 files changed, 9 insertions, 9 deletions
diff --git a/tests/data/test1293 b/tests/data/test1293
index 11a28a326..e2143d103 100644
--- a/tests/data/test1293
+++ b/tests/data/test1293
@@ -52,7 +52,7 @@ s/boundary=------------------------[a-z0-9]*/boundary=--------------------------
</strippart>
<protocol>
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 99bc2dbee..51ace296a 100644
--- a/tests/data/test2078
+++ b/tests/data/test2078
@@ -43,7 +43,7 @@ http://%HOSTIP:%HTTPPORT/2078 -u : --negotiate --data name=value
</strip>
<protocol nonewline="yes">
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 a3383a9d1..86ebb0112 100644
--- a/tests/data/test490
+++ b/tests/data/test490
@@ -50,14 +50,14 @@ surprise!
</strip>
<protocol>
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 b49c06ce7..c230dfb78 100644
--- a/tests/data/test491
+++ b/tests/data/test491
@@ -50,7 +50,7 @@ surprise!
</strip>
<protocol>
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 12edd8bc0..ddb0405ef 100644
--- a/tests/data/test492
+++ b/tests/data/test492
@@ -53,7 +53,7 @@ second 492 contents
</strip>
<protocol>
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