r2811 - trunk/varnish-cache/bin/varnishtest/tests

phk at projects.linpro.no phk at projects.linpro.no
Wed Jun 25 23:12:04 CEST 2008


Author: phk
Date: 2008-06-25 23:12:04 +0200 (Wed, 25 Jun 2008)
New Revision: 2811

Modified:
   trunk/varnish-cache/bin/varnishtest/tests/c00004.vtc
Log:
Test for match with leading and trailing space as well.



Modified: trunk/varnish-cache/bin/varnishtest/tests/c00004.vtc
===================================================================
--- trunk/varnish-cache/bin/varnishtest/tests/c00004.vtc	2008-06-25 21:06:40 UTC (rev 2810)
+++ trunk/varnish-cache/bin/varnishtest/tests/c00004.vtc	2008-06-25 21:12:04 UTC (rev 2811)
@@ -43,7 +43,7 @@
 	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"




More information about the varnish-commit mailing list