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

phk at varnish-cache.org phk at varnish-cache.org
Wed Oct 27 10:46:21 CEST 2010


Author: phk
Date: 2010-10-27 10:46:20 +0200 (Wed, 27 Oct 2010)
New Revision: 5470

Modified:
   trunk/varnish-cache/bin/varnishtest/tests/v00010.vtc
Log:
Improve testing coverage



Modified: trunk/varnish-cache/bin/varnishtest/tests/v00010.vtc
===================================================================
--- trunk/varnish-cache/bin/varnishtest/tests/v00010.vtc	2010-10-27 08:20:04 UTC (rev 5469)
+++ trunk/varnish-cache/bin/varnishtest/tests/v00010.vtc	2010-10-27 08:46:20 UTC (rev 5470)
@@ -15,9 +15,9 @@
 
 varnish v1 -storage "-smalloc,1m" -vcl+backend {
 
-	sub vcl_fetch {
-		if (beresp.http.panic) {
-			panic "Had Panic header: " + beresp.http.panic;
+	sub vcl_deliver {
+		if (resp.http.panic) {
+			panic "Had Panic header: " + resp.http.panic;
 		}
 	}
 } -start




More information about the varnish-commit mailing list