r3664 - branches/2.0/varnish-cache/bin/varnishtest/tests
tfheen at projects.linpro.no
tfheen at projects.linpro.no
Fri Feb 6 13:58:00 CET 2009
Author: tfheen
Date: 2009-02-06 13:58:00 +0100 (Fri, 06 Feb 2009)
New Revision: 3664
Added:
branches/2.0/varnish-cache/bin/varnishtest/tests/r00400.vtc
Log:
Merge r3471: Add regression test for #400
Copied: branches/2.0/varnish-cache/bin/varnishtest/tests/r00400.vtc (from rev 3471, trunk/varnish-cache/bin/varnishtest/tests/r00400.vtc)
===================================================================
--- branches/2.0/varnish-cache/bin/varnishtest/tests/r00400.vtc (rev 0)
+++ branches/2.0/varnish-cache/bin/varnishtest/tests/r00400.vtc 2009-02-06 12:58:00 UTC (rev 3664)
@@ -0,0 +1,21 @@
+# $Id$
+
+test "Regression test for ticket 409"
+
+server s1 {
+ rxreq
+ expect req.url == "/"
+ send "HTTP/1.0 400 Not funny\r\n"
+ send "\r\n"
+ send "12345\r\n"
+} -start
+
+varnish v1 -vcl+backend {
+} -start
+
+client c1 {
+ txreq
+ rxresp
+ expect resp.status == 400
+ expect resp.bodylen == 7
+} -run
More information about the varnish-commit
mailing list