summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Szabo <stephan.szabo@sony.com>2019-06-24 09:25:31 -0700
committerDaniel Stenberg <daniel@haxx.se>2019-06-25 08:04:48 +0200
commit35b8bea20f90873e321e1e77d8a9936245c11ac9 (patch)
treef2a7f4b49a6ef4a970aca473c815eef03c6a6875
parentb96282010e4b8bf373c1fb631a5e305442af634a (diff)
downloadcurl-35b8bea20f90873e321e1e77d8a9936245c11ac9.tar.gz
tests: update fixed IP for hostip/clientip split
These tests give differences for me on linux when using a hostip pointing to the external ip address for the local machine. Closes #4070
-rw-r--r--tests/data/test15192
-rw-r--r--tests/data/test20328
-rw-r--r--tests/data/test6512
-rw-r--r--tests/data/test6534
4 files changed, 8 insertions, 8 deletions
diff --git a/tests/data/test1519 b/tests/data/test1519
index ab23dadca..292a49c65 100644
--- a/tests/data/test1519
+++ b/tests/data/test1519
@@ -53,7 +53,7 @@ res: 0
status: 302
redirects: 0
effectiveurl: http://%HOSTIP:%HTTPPORT/1519
-redirecturl: http://127.0.0.1:8990/h%20ttp://1.2.4.5/test
+redirecturl: http://%HOSTIP:%HTTPPORT/h%20ttp://1.2.4.5/test
</stdout>
<errorcode>
0
diff --git a/tests/data/test2032 b/tests/data/test2032
index a63e11ef1..ec5771f81 100644
--- a/tests/data/test2032
+++ b/tests/data/test2032
@@ -99,22 +99,22 @@ chkhostname curlhost
</strip>
<protocol>
GET /20320100 HTTP/1.1
-Host: 127.0.0.1:%HTTPPORT
+Host: %HOSTIP:%HTTPPORT
Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=
Accept: */*
GET /20320100 HTTP/1.1
-Host: 127.0.0.1:%HTTPPORT
+Host: %HOSTIP:%HTTPPORT
Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=
Accept: */*
GET /20320200 HTTP/1.1
-Host: 127.0.0.1:%HTTPPORT
+Host: %HOSTIP:%HTTPPORT
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
Accept: */*
GET /20320200 HTTP/1.1
-Host: 127.0.0.1:%HTTPPORT
+Host: %HOSTIP:%HTTPPORT
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoABAI+/Fp9IERAQ74OsdNPbBpg7o8CVwLSO4DtFyIcZHUMKVktWIu92s2892OVpd2JzqnRlc3R1c2VyY3VybGhvc3Q=
Accept: */*
diff --git a/tests/data/test651 b/tests/data/test651
index b00ca5d0e..ae6409479 100644
--- a/tests/data/test651
+++ b/tests/data/test651
@@ -57,7 +57,7 @@ s/boundary=------------------------[a-z0-9]*/boundary=--------------------------
# (5*12) == 60 bytes less
<protocol>
POST /651 HTTP/1.1
-Host: 127.0.0.1:8990
+Host: %HOSTIP:%HTTPPORT
Accept: */*
Content-Length: 17139
Content-Type: multipart/form-data; boundary=----------------------------
diff --git a/tests/data/test653 b/tests/data/test653
index d620b5761..d7be05923 100644
--- a/tests/data/test653
+++ b/tests/data/test653
@@ -67,7 +67,7 @@ s/boundary=------------------------[a-z0-9]*/boundary=--------------------------
# (5*12) == 60 bytes less
<protocol>
POST /653 HTTP/1.1
-Host: 127.0.0.1:8990
+Host: %HOSTIP:%HTTPPORT
Accept: */*
Content-Length: 150
Content-Type: multipart/form-data; boundary=----------------------------
@@ -78,7 +78,7 @@ Content-Disposition: form-data; name="name"
short value
--------------------------------
POST /653 HTTP/1.1
-Host: 127.0.0.1:8990
+Host: %HOSTIP:%HTTPPORT
Accept: */*
Content-Length: 167
Content-Type: multipart/form-data; boundary=----------------------------