[master] 6bd3d3b Update this test-case, since it breaks 4.0.3 but not -trunk
Poul-Henning Kamp
phk at FreeBSD.org
Mon Mar 2 13:31:35 CET 2015
commit 6bd3d3ba9c4aa062646646ff83854bdab20af054
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Mon Mar 2 12:29:34 2015 +0000
Update this test-case, since it breaks 4.0.3 but not -trunk
diff --git a/bin/varnishtest/tests/r01602.vtc b/bin/varnishtest/tests/r01602.vtc
index 4411304..efbe4a2 100644
--- a/bin/varnishtest/tests/r01602.vtc
+++ b/bin/varnishtest/tests/r01602.vtc
@@ -7,12 +7,17 @@ server s1 {
rxreq
expect req.url == "/foo"
txresp -hdr "Content-Encoding: gzip"
+ rxreq
+ expect req.url == "/baz"
+ txresp -gzipbody {<esi:include src="/quux"/>}
+ rxreq
+ expect req.url == "/quux"
+ txresp -status 204 -hdr "Content-Encoding: gzip"
} -start
varnish v1 -vcl+backend {
sub vcl_backend_response {
set beresp.do_esi = true;
- set beresp.do_gzip = true;
}
} -start
@@ -20,4 +25,7 @@ client c1 {
txreq -url /bar -hdr "Accept-Encoding: gzip"
rxresp
expect resp.status == 200
+ txreq -url /baz -hdr "Accept-Encoding: gzip"
+ rxresp
+ expect resp.status == 200
} -run
More information about the varnish-commit
mailing list