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

phk at projects.linpro.no phk at projects.linpro.no
Fri Mar 13 13:21:35 CET 2009


Author: phk
Date: 2009-03-13 13:21:34 +0100 (Fri, 13 Mar 2009)
New Revision: 3927

Added:
   trunk/varnish-cache/bin/varnishtest/tests/p00000.vtc
   trunk/varnish-cache/bin/varnishtest/tests/p00001.vtc
Removed:
   trunk/varnish-cache/bin/varnishtest/tests/p0000.vtc
   trunk/varnish-cache/bin/varnishtest/tests/p0001.vtc
Log:
Oops, just noticed I had missed a zero here.



Deleted: trunk/varnish-cache/bin/varnishtest/tests/p0000.vtc
===================================================================
--- trunk/varnish-cache/bin/varnishtest/tests/p0000.vtc	2009-03-13 11:52:39 UTC (rev 3926)
+++ trunk/varnish-cache/bin/varnishtest/tests/p0000.vtc	2009-03-13 12:21:34 UTC (rev 3927)
@@ -1,34 +0,0 @@
-# $Id$
-
-test "Test Basic persistence"
-
-server s1 {
-	rxreq 
-	txresp 
-} -start
-
-shell "rm -f /tmp/__v1/_.per"
-
-varnish v1 \
-	-arg "-pdiag_bitmap=0x20000" \
-	-arg "-spersistent,/tmp/__v1/_.per,10m" -vcl+backend { } -start 
-
-client c1 {
-	txreq -url "/"
-	rxresp
-	expect resp.status == 200
-	expect resp.http.X-Varnish == "1001"
-} -run
-
-varnish v1 -stop
-
-varnish v1 -start
-
-client c1 {
-	txreq -url "/"
-	rxresp
-	expect resp.status == 200
-	expect resp.http.X-Varnish == "1001"
-} -run
-
-# shell "rm -f /tmp/__v1/_.per"

Copied: trunk/varnish-cache/bin/varnishtest/tests/p00000.vtc (from rev 3920, trunk/varnish-cache/bin/varnishtest/tests/p0000.vtc)
===================================================================
--- trunk/varnish-cache/bin/varnishtest/tests/p00000.vtc	                        (rev 0)
+++ trunk/varnish-cache/bin/varnishtest/tests/p00000.vtc	2009-03-13 12:21:34 UTC (rev 3927)
@@ -0,0 +1,34 @@
+# $Id$
+
+test "Test Basic persistence"
+
+server s1 {
+	rxreq 
+	txresp 
+} -start
+
+shell "rm -f /tmp/__v1/_.per"
+
+varnish v1 \
+	-arg "-pdiag_bitmap=0x20000" \
+	-arg "-spersistent,/tmp/__v1/_.per,10m" -vcl+backend { } -start 
+
+client c1 {
+	txreq -url "/"
+	rxresp
+	expect resp.status == 200
+	expect resp.http.X-Varnish == "1001"
+} -run
+
+varnish v1 -stop
+
+varnish v1 -start
+
+client c1 {
+	txreq -url "/"
+	rxresp
+	expect resp.status == 200
+	expect resp.http.X-Varnish == "1001"
+} -run
+
+# shell "rm -f /tmp/__v1/_.per"

Copied: trunk/varnish-cache/bin/varnishtest/tests/p00001.vtc (from rev 3920, trunk/varnish-cache/bin/varnishtest/tests/p0001.vtc)
===================================================================
--- trunk/varnish-cache/bin/varnishtest/tests/p00001.vtc	                        (rev 0)
+++ trunk/varnish-cache/bin/varnishtest/tests/p00001.vtc	2009-03-13 12:21:34 UTC (rev 3927)
@@ -0,0 +1,64 @@
+# $Id$
+
+test "Change TTL on persistent object"
+
+shell "rm -f /tmp/__v1/_.per"
+
+server s1 {
+	rxreq 
+	txresp -hdr "Foo: foo"
+} -start
+
+varnish v1 \
+	-arg "-pdiag_bitmap=0x20000" \
+	-arg "-spersistent,/tmp/__v1/_.per,10m" -vcl+backend { } -start 
+
+client c1 {
+	txreq -url "/"
+	rxresp
+	expect resp.status == 200
+	expect resp.http.X-Varnish == "1001"
+	expect resp.http.foo == "foo"
+} -run
+
+varnish v1 -stop
+server s1 -wait
+
+varnish v1 -vcl+backend {
+	sub vcl_hit {
+		set obj.ttl = 1 s;
+	}
+}
+
+varnish v1 -start
+
+client c1 {
+	txreq -url "/"
+	rxresp
+	expect resp.status == 200
+	expect resp.http.X-Varnish == "1001"
+	expect resp.http.foo == "foo"
+} -run
+
+varnish v1 -stop
+
+varnish v1 -vcl+backend { }
+
+delay 2
+
+varnish v1 -start
+
+server s1 {
+	rxreq 
+	txresp -hdr "Foo: bar"
+} -start
+
+client c1 {
+	txreq -url "/"
+	rxresp
+	expect resp.status == 200
+	expect resp.http.X-Varnish == "1001"
+	expect resp.http.foo == "bar"
+} -run
+
+# shell "rm -f /tmp/__v1/_.per"

Deleted: trunk/varnish-cache/bin/varnishtest/tests/p0001.vtc
===================================================================
--- trunk/varnish-cache/bin/varnishtest/tests/p0001.vtc	2009-03-13 11:52:39 UTC (rev 3926)
+++ trunk/varnish-cache/bin/varnishtest/tests/p0001.vtc	2009-03-13 12:21:34 UTC (rev 3927)
@@ -1,64 +0,0 @@
-# $Id$
-
-test "Change TTL on persistent object"
-
-shell "rm -f /tmp/__v1/_.per"
-
-server s1 {
-	rxreq 
-	txresp -hdr "Foo: foo"
-} -start
-
-varnish v1 \
-	-arg "-pdiag_bitmap=0x20000" \
-	-arg "-spersistent,/tmp/__v1/_.per,10m" -vcl+backend { } -start 
-
-client c1 {
-	txreq -url "/"
-	rxresp
-	expect resp.status == 200
-	expect resp.http.X-Varnish == "1001"
-	expect resp.http.foo == "foo"
-} -run
-
-varnish v1 -stop
-server s1 -wait
-
-varnish v1 -vcl+backend {
-	sub vcl_hit {
-		set obj.ttl = 1 s;
-	}
-}
-
-varnish v1 -start
-
-client c1 {
-	txreq -url "/"
-	rxresp
-	expect resp.status == 200
-	expect resp.http.X-Varnish == "1001"
-	expect resp.http.foo == "foo"
-} -run
-
-varnish v1 -stop
-
-varnish v1 -vcl+backend { }
-
-delay 2
-
-varnish v1 -start
-
-server s1 {
-	rxreq 
-	txresp -hdr "Foo: bar"
-} -start
-
-client c1 {
-	txreq -url "/"
-	rxresp
-	expect resp.status == 200
-	expect resp.http.X-Varnish == "1001"
-	expect resp.http.foo == "bar"
-} -run
-
-# shell "rm -f /tmp/__v1/_.per"



More information about the varnish-commit mailing list