[master] cddfbca Arguments must be set on first invocation of a varnish instance

Poul-Henning Kamp phk at FreeBSD.org
Wed Jan 11 11:30:05 CET 2017


commit cddfbcacbe686160cd4b0b9412c5adaaf73de185
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Jan 11 10:25:28 2017 +0000

    Arguments must be set on first invocation of a varnish instance

diff --git a/bin/varnishtest/tests/c00005.vtc b/bin/varnishtest/tests/c00005.vtc
index 9343306..b9072f8 100644
--- a/bin/varnishtest/tests/c00005.vtc
+++ b/bin/varnishtest/tests/c00005.vtc
@@ -9,6 +9,8 @@ server s1 {
 	txresp -body "2222\n"
 } -start
 
+varnish v1 -arg "-p vsl_mask=+VCL_trace"
+
 varnish v1 -errvcl {Name acl1 must have type 'acl'.} {
 	sub vcl_recv {
 		if (client.ip ~ acl1) {
@@ -21,7 +23,7 @@ varnish v1 -errvcl {Name acl1 must have type 'acl'.} {
 	}
 }
 
-varnish v1 -arg "-p vsl_mask=+VCL_trace" -vcl+backend {
+varnish v1 -vcl+backend {
 	sub vcl_recv {
 		if (client.ip ~ acl1) {
 			set req.url = "/";



More information about the varnish-commit mailing list