[master] af79dc8 Fix this testcase to not depend on param "accept_filter" to exist.

Poul-Henning Kamp phk at FreeBSD.org
Sat Dec 7 12:03:07 CET 2013


commit af79dc8504b6b036ef4c182afa3d6723fe6953e9
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Sat Dec 7 11:02:51 2013 +0000

    Fix this testcase to not depend on param "accept_filter" to exist.

diff --git a/bin/varnishtest/tests/b00013.vtc b/bin/varnishtest/tests/b00013.vtc
index d48cd5a..ffae946 100644
--- a/bin/varnishtest/tests/b00013.vtc
+++ b/bin/varnishtest/tests/b00013.vtc
@@ -9,7 +9,11 @@ server s1 {
 	txresp -body "foobar"
 } -start
 
-varnish v1 -arg "-p accept_filter=false" -vcl+backend {} -start
+varnish v1 -vcl+backend {}
+
+# NB: The accept_filter param may not exist.
+varnish v1 -cli "param.set accept_filter false"
+varnish v1 -start
 
 client c1 {
 	send "GET /foo HTTP/1.1\r\n\r\nGET "



More information about the varnish-commit mailing list