diff options
author | Stephan Szabo <stephan.szabo@sony.com> | 2019-06-24 09:25:31 -0700 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-06-25 08:04:48 +0200 |
commit | 35b8bea20f90873e321e1e77d8a9936245c11ac9 (patch) | |
tree | f2a7f4b49a6ef4a970aca473c815eef03c6a6875 /tests | |
parent | b96282010e4b8bf373c1fb631a5e305442af634a (diff) |
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
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/test1519 | 2 | ||||
-rw-r--r-- | tests/data/test2032 | 8 | ||||
-rw-r--r-- | tests/data/test651 | 2 | ||||
-rw-r--r-- | tests/data/test653 | 4 |
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=----------------------------
|