From: phk Date: Mon, 16 Jun 2008 22:16:40 +0000 (+0000) Subject: Add the first test-case that involves a varnish process X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3be36e6e665d69da1ac7bed00bc1282b98f56289;p=varnish Add the first test-case that involves a varnish process git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2709 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishtest/tests/b00000.vtc b/varnish-cache/bin/varnishtest/tests/b00000.vtc new file mode 100644 index 00000000..c96b5e48 --- /dev/null +++ b/varnish-cache/bin/varnishtest/tests/b00000.vtc @@ -0,0 +1,24 @@ +# Test that we get anything through at all +# +# $Id$ + +varnish v1 -arg "-b localhost:9080" -start + +server s1 -repeat 1 { + 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