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

phk at projects.linpro.no phk at projects.linpro.no
Sat May 9 10:21:21 CEST 2009


Author: phk
Date: 2009-05-09 10:21:21 +0200 (Sat, 09 May 2009)
New Revision: 4053

Added:
   trunk/varnish-cache/bin/varnishtest/tests/r00506.vtc
Log:
Regression test for #506



Added: trunk/varnish-cache/bin/varnishtest/tests/r00506.vtc
===================================================================
--- trunk/varnish-cache/bin/varnishtest/tests/r00506.vtc	                        (rev 0)
+++ trunk/varnish-cache/bin/varnishtest/tests/r00506.vtc	2009-05-09 08:21:21 UTC (rev 4053)
@@ -0,0 +1,18 @@
+# $Id$
+
+test "Illegal HTTP status from backend"
+
+server s1 {
+	rxreq
+	send "HTTP/1.1 1000\n\nFoo"
+} -start
+
+varnish v1 -vcl+backend {
+	sub vcl_recv {
+	}
+} -start
+
+client c1 {
+	txreq
+	rxresp
+} -run



More information about the varnish-commit mailing list