From: phk Date: Wed, 25 Jun 2008 21:52:55 +0000 (+0000) Subject: Add a -s malloc testcase X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa5c4bd4ca34d96b95ab7811f6c60d23fe242b8c;p=varnish Add a -s malloc testcase git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2813 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishtest/tests/b00006.vtc b/varnish-cache/bin/varnishtest/tests/b00006.vtc new file mode 100644 index 00000000..a51826f1 --- /dev/null +++ b/varnish-cache/bin/varnishtest/tests/b00006.vtc @@ -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"