r2692 - trunk/varnish-cache/bin/varnishtest/tests
phk at projects.linpro.no
phk at projects.linpro.no
Sun Jun 15 22:41:04 CEST 2008
Author: phk
Date: 2008-06-15 22:41:04 +0200 (Sun, 15 Jun 2008)
New Revision: 2692
Added:
trunk/varnish-cache/bin/varnishtest/tests/a00000.vtc
trunk/varnish-cache/bin/varnishtest/tests/a00001.vtc
Log:
Two first testcases
Added: trunk/varnish-cache/bin/varnishtest/tests/a00000.vtc
===================================================================
--- trunk/varnish-cache/bin/varnishtest/tests/a00000.vtc (rev 0)
+++ trunk/varnish-cache/bin/varnishtest/tests/a00000.vtc 2008-06-15 20:41:04 UTC (rev 2692)
@@ -0,0 +1,19 @@
+# Quis custodiet ipsos custodes?
+#
+# $Id$
+
+server s1 -listen :9080 {
+ rxreq
+ txresp
+}
+
+server s1 -start
+
+client c1 -connect localhost:9080 {
+ txreq
+ rxresp
+}
+
+client c1 -run
+
+server s1 -wait
Property changes on: trunk/varnish-cache/bin/varnishtest/tests/a00000.vtc
___________________________________________________________________
Name: svn:keywords
+
Added: trunk/varnish-cache/bin/varnishtest/tests/a00001.vtc
===================================================================
--- trunk/varnish-cache/bin/varnishtest/tests/a00001.vtc (rev 0)
+++ trunk/varnish-cache/bin/varnishtest/tests/a00001.vtc 2008-06-15 20:41:04 UTC (rev 2692)
@@ -0,0 +1,25 @@
+# Quis custodiet ipsos custodes?
+#
+# $Id$
+
+server s1 -listen :9080 {
+ rxreq
+ expect req.request == GET
+ expect req.proto == HTTP/1.1
+ expect req.url == "/"
+ txresp -body "0123456789"
+}
+
+server s1 -start
+
+client c1 -connect localhost:9080 {
+ txreq
+ rxresp
+ expect resp.proto == HTTP/1.1
+ expect resp.status == 200
+ expect resp.msg == Ok
+}
+
+client c1 -run
+
+server s1 -wait
Property changes on: trunk/varnish-cache/bin/varnishtest/tests/a00001.vtc
___________________________________________________________________
Name: svn:keywords
+
More information about the varnish-commit
mailing list