r2709 - trunk/varnish-cache/bin/varnishtest/tests
phk at projects.linpro.no
phk at projects.linpro.no
Tue Jun 17 00:16:40 CEST 2008
Author: phk
Date: 2008-06-17 00:16:40 +0200 (Tue, 17 Jun 2008)
New Revision: 2709
Added:
trunk/varnish-cache/bin/varnishtest/tests/b00000.vtc
Log:
Add the first test-case that involves a varnish process
Added: trunk/varnish-cache/bin/varnishtest/tests/b00000.vtc
===================================================================
--- trunk/varnish-cache/bin/varnishtest/tests/b00000.vtc (rev 0)
+++ trunk/varnish-cache/bin/varnishtest/tests/b00000.vtc 2008-06-16 22:16:40 UTC (rev 2709)
@@ -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
Property changes on: trunk/varnish-cache/bin/varnishtest/tests/b00000.vtc
___________________________________________________________________
Name: svn:keywords
+
More information about the varnish-commit
mailing list