]> err.no Git - varnish/commitdiff
Expect X-Varnish to show the correct XIDs
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 17 Jun 2008 20:52:20 +0000 (20:52 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 17 Jun 2008 20:52:20 +0000 (20:52 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2734 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishtest/tests/b00003.vtc

index 04e4d7d9a4df015dd371d4069cb651280feed6e9..98af189d5293325c0e55c6a0025cae075867b39e 100644 (file)
@@ -9,7 +9,7 @@ server s1 {
                -body "012345\n"
 }
 
-varnish v1 -vcl+backend { } -start
+varnish v1 -vcl+backend { } -start 
 
 server s1 -start 
 
@@ -17,7 +17,15 @@ client c1 {
        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