]> err.no Git - varnish/commitdiff
Test for match with leading and trailing space as well.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 25 Jun 2008 21:12:04 +0000 (21:12 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 25 Jun 2008 21:12:04 +0000 (21:12 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2811 d4fa192b-c00b-0410-8231-f00ffab90ce4

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

index f949f69fb98297fff17d6592729befbd9a0f1389..62780bb6f624133154b15d32846dadac13c3c0f3 100644 (file)
@@ -43,7 +43,7 @@ client c1 {
        expect resp.http.X-Varnish == "1004"
        expect resp.http.snafu == "4"
 
-       txreq -hdr "Foobar: 1"
+       txreq -hdr "Foobar:  1 "
        rxresp
        expect resp.status == 200
        expect resp.http.X-Varnish == "1005 1001"