From eefd3499bffc5d548cdaebd263076c1aff2005ee Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 17 Jun 2008 20:52:20 +0000 Subject: [PATCH] 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 --- varnish-cache/bin/varnishtest/tests/b00003.vtc | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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 -- 2.39.5