r4241 - trunk/varnish-cache/bin/varnishtest/tests
phk at projects.linpro.no
phk at projects.linpro.no
Thu Sep 24 16:21:54 CEST 2009
Author: phk
Date: 2009-09-24 16:21:54 +0200 (Thu, 24 Sep 2009)
New Revision: 4241
Added:
trunk/varnish-cache/bin/varnishtest/tests/r00558.vtc
Log:
Regression test case for 558
Added: trunk/varnish-cache/bin/varnishtest/tests/r00558.vtc
===================================================================
--- trunk/varnish-cache/bin/varnishtest/tests/r00558.vtc (rev 0)
+++ trunk/varnish-cache/bin/varnishtest/tests/r00558.vtc 2009-09-24 14:21:54 UTC (rev 4241)
@@ -0,0 +1,19 @@
+# $Id$
+
+test "error from vcl_recv{} has no numeric code"
+
+
+server s1 {
+} -start
+
+varnish v1 -vcl+backend {
+ sub vcl_recv {
+ return (error);
+ }
+} -start
+
+client c1 {
+ txreq
+ rxresp
+ expect resp.status == 501
+} -run
More information about the varnish-commit
mailing list