r2734 - trunk/varnish-cache/bin/varnishtest/tests
phk at projects.linpro.no
phk at projects.linpro.no
Tue Jun 17 22:52:20 CEST 2008
Author: phk
Date: 2008-06-17 22:52:20 +0200 (Tue, 17 Jun 2008)
New Revision: 2734
Modified:
trunk/varnish-cache/bin/varnishtest/tests/b00003.vtc
Log:
Expect X-Varnish to show the correct XIDs
Modified: trunk/varnish-cache/bin/varnishtest/tests/b00003.vtc
===================================================================
--- trunk/varnish-cache/bin/varnishtest/tests/b00003.vtc 2008-06-17 20:52:00 UTC (rev 2733)
+++ trunk/varnish-cache/bin/varnishtest/tests/b00003.vtc 2008-06-17 20:52:20 UTC (rev 2734)
@@ -9,7 +9,7 @@
-body "012345\n"
}
-varnish v1 -vcl+backend { } -start
+varnish v1 -vcl+backend { } -start
server s1 -start
@@ -17,7 +17,15 @@
txreq -url "/"
rxresp
expect resp.status == 200
+ expect resp.http.X-Varnish == "1001"
}
+client c2 {
+ txreq -url "/"
+ rxresp
+ expect resp.status == 200
+ expect resp.http.X-Varnish == "1002 1001"
+}
+
client c1 -run
-client c1 -run
+client c2 -run
More information about the varnish-commit
mailing list