trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject [trafficserver] branch master updated: Test: fix body factory gold files to ignore irrelevant headers.
Date Wed, 30 Aug 2017 00:01:07 GMT
This is an automated email from the ASF dual-hosted git repository.

amc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 9a645fe  Test: fix body factory gold files to ignore irrelevant headers.
9a645fe is described below

commit 9a645fe67778173e6591525c4e05221eb0d79a68
Author: Alan M. Carroll <amc@apache.org>
AuthorDate: Tue Aug 29 18:39:43 2017 -0500

    Test: fix body factory gold files to ignore irrelevant headers.
---
 tests/gold_tests/body_factory/gold/http-get-200.gold  | 4 ++--
 tests/gold_tests/body_factory/gold/http-get-304.gold  | 5 ++---
 tests/gold_tests/body_factory/gold/http-head-200.gold | 4 +---
 3 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/tests/gold_tests/body_factory/gold/http-get-200.gold b/tests/gold_tests/body_factory/gold/http-get-200.gold
index a5c3c38..c610ba3 100644
--- a/tests/gold_tests/body_factory/gold/http-get-200.gold
+++ b/tests/gold_tests/body_factory/gold/http-get-200.gold
@@ -1,6 +1,6 @@
 HTTP/1.1 200 OK
+``
 Content-Length: 47
-Age: 0
-Connection: keep-alive
+``
 
 This body should be returned for a GET request.
diff --git a/tests/gold_tests/body_factory/gold/http-get-304.gold b/tests/gold_tests/body_factory/gold/http-get-304.gold
index 03f3ced..d1ad0e1 100644
--- a/tests/gold_tests/body_factory/gold/http-get-304.gold
+++ b/tests/gold_tests/body_factory/gold/http-get-304.gold
@@ -1,5 +1,4 @@
 HTTP/1.1 304 Not Modified
-Age: 0
-Connection: keep-alive
+``
 Warning: 199 VERSION Proxy received unexpected 304 response; content may be stale
-
+``
diff --git a/tests/gold_tests/body_factory/gold/http-head-200.gold b/tests/gold_tests/body_factory/gold/http-head-200.gold
index 045c1e1..e40a733 100644
--- a/tests/gold_tests/body_factory/gold/http-head-200.gold
+++ b/tests/gold_tests/body_factory/gold/http-head-200.gold
@@ -1,4 +1,2 @@
 HTTP/1.1 200 OK
-Age: 0
-Connection: keep-alive
-
+``

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <commits@trafficserver.apache.org>'].

Mime
View raw message