From 35b8bea20f90873e321e1e77d8a9936245c11ac9 Mon Sep 17 00:00:00 2001 From: Stephan Szabo Date: Mon, 24 Jun 2019 09:25:31 -0700 Subject: [PATCH] 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 --- tests/data/test1519 | 2 +- tests/data/test2032 | 8 ++++---- tests/data/test651 | 2 +- tests/data/test653 | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/data/test1519 b/tests/data/test1519 index ab23dadca70128..292a49c65923d2 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 0 diff --git a/tests/data/test2032 b/tests/data/test2032 index a63e11ef1edad7..ec5771f8141b48 100644 --- a/tests/data/test2032 +++ b/tests/data/test2032 @@ -99,22 +99,22 @@ chkhostname curlhost 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 b00ca5d0e8815c..ae6409479ff95e 100644 --- a/tests/data/test651 +++ b/tests/data/test651 @@ -57,7 +57,7 @@ s/boundary=------------------------[a-z0-9]*/boundary=-------------------------- # (5*12) == 60 bytes less 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 d620b57616be09..d7be05923e9335 100644 --- a/tests/data/test653 +++ b/tests/data/test653 @@ -67,7 +67,7 @@ s/boundary=------------------------[a-z0-9]*/boundary=-------------------------- # (5*12) == 60 bytes less 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=----------------------------