r5520 - trunk/varnish-cache/bin/varnishtest/tests

phk at varnish-cache.org phk at varnish-cache.org
Mon Nov 8 10:58:25 CET 2010


Author: phk
Date: 2010-11-08 10:58:25 +0100 (Mon, 08 Nov 2010)
New Revision: 5520

Added:
   trunk/varnish-cache/bin/varnishtest/tests/r00803.vtc
Log:
Forgot at commit this test file some time back.



Added: trunk/varnish-cache/bin/varnishtest/tests/r00803.vtc
===================================================================
--- trunk/varnish-cache/bin/varnishtest/tests/r00803.vtc	                        (rev 0)
+++ trunk/varnish-cache/bin/varnishtest/tests/r00803.vtc	2010-11-08 09:58:25 UTC (rev 5520)
@@ -0,0 +1,24 @@
+# $Id$
+
+test "304 response in pass mode"
+
+server s1 {
+	rxreq
+	txresp -status 304 \
+		-nolen \
+		-hdr "Date: Mon, 25 Oct 2010 06:34:06 GMT"
+	delay 600
+} -start
+
+
+varnish v1 -vcl+backend {
+	sub vcl_recv { return (pass); }
+} -start
+
+client c1 {
+	txreq 
+	rxresp
+	expect resp.status == 304
+} -run
+
+


Property changes on: trunk/varnish-cache/bin/varnishtest/tests/r00803.vtc
___________________________________________________________________
Added: svn:keywords
   + Id




More information about the varnish-commit mailing list