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

phk at projects.linpro.no phk at projects.linpro.no
Wed Jun 25 23:52:55 CEST 2008


Author: phk
Date: 2008-06-25 23:52:55 +0200 (Wed, 25 Jun 2008)
New Revision: 2813

Added:
   trunk/varnish-cache/bin/varnishtest/tests/b00006.vtc
Log:
Add a -s malloc testcase



Added: trunk/varnish-cache/bin/varnishtest/tests/b00006.vtc
===================================================================
--- trunk/varnish-cache/bin/varnishtest/tests/b00006.vtc	                        (rev 0)
+++ trunk/varnish-cache/bin/varnishtest/tests/b00006.vtc	2008-06-25 21:52:55 UTC (rev 2813)
@@ -0,0 +1,25 @@
+# $Id$
+
+test "Check that -s malloc works"
+
+varnish v1 -arg "-s malloc -b 127.0.0.1:9080" -start
+
+server s1 {
+	rxreq 
+	txresp -hdr "Connection: close" -body "012345\n"
+}
+
+server s1 -start 
+
+client c1 {
+	txreq -url "/"
+	rxresp
+	expect resp.status == 200
+}
+
+client c1 -run
+
+server s1 -wait
+
+varnish v1 -stop
+shell "rm ../varnishd/varnishtest_backing"




More information about the varnish-commit mailing list