From: phk Date: Wed, 25 Jun 2008 21:06:40 +0000 (+0000) Subject: Remember to test the case with missing vary header X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7fa1ffaca96791f4a46c71064eed0e27045b298;p=varnish Remember to test the case with missing vary header git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2810 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishtest/tests/c00004.vtc b/varnish-cache/bin/varnishtest/tests/c00004.vtc index 7d0b31b1..f949f69f 100644 --- a/varnish-cache/bin/varnishtest/tests/c00004.vtc +++ b/varnish-cache/bin/varnishtest/tests/c00004.vtc @@ -15,7 +15,6 @@ server s1 { 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 @@ client c1 { 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"