From: phk Date: Tue, 17 Jun 2008 20:52:20 +0000 (+0000) Subject: Expect X-Varnish to show the correct XIDs X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eefd3499bffc5d548cdaebd263076c1aff2005ee;p=varnish Expect X-Varnish to show the correct XIDs git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2734 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishtest/tests/b00003.vtc b/varnish-cache/bin/varnishtest/tests/b00003.vtc index 04e4d7d9..98af189d 100644 --- a/varnish-cache/bin/varnishtest/tests/b00003.vtc +++ b/varnish-cache/bin/varnishtest/tests/b00003.vtc @@ -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