r2810 - trunk/varnish-cache/bin/varnishtest/tests
phk at projects.linpro.no
phk at projects.linpro.no
Wed Jun 25 23:06:40 CEST 2008
Author: phk
Date: 2008-06-25 23:06:40 +0200 (Wed, 25 Jun 2008)
New Revision: 2810
Modified:
trunk/varnish-cache/bin/varnishtest/tests/c00004.vtc
Log:
Remember to test the case with missing vary header
Modified: trunk/varnish-cache/bin/varnishtest/tests/c00004.vtc
===================================================================
--- trunk/varnish-cache/bin/varnishtest/tests/c00004.vtc 2008-06-25 20:53:43 UTC (rev 2809)
+++ trunk/varnish-cache/bin/varnishtest/tests/c00004.vtc 2008-06-25 21:06:40 UTC (rev 2810)
@@ -15,7 +15,6 @@
expect req.http.foobar == "3"
txresp -hdr "Vary: Foobar" -hdr "Snafu: 3" -hdr "Content-Length: 5" -body "3333\n"
rxreq
- expect req.http.foobar == "4"
txresp -hdr "Vary: Foobar" -hdr "Snafu: 4" -hdr "Content-Length: 5" -body "4444\n"
} -start
@@ -38,7 +37,7 @@
expect resp.http.X-Varnish == "1003"
expect resp.http.snafu == "3"
- txreq -hdr "Foobar: 4"
+ txreq
rxresp
expect resp.status == 200
expect resp.http.X-Varnish == "1004"
More information about the varnish-commit
mailing list