Permalink
Browse files

Arguments must be set on first invocation of a varnish instance

  • Loading branch information...
1 parent b5e64a9 commit cddfbcacbe686160cd4b0b9412c5adaaf73de185 @bsdphk bsdphk committed Jan 11, 2017
Showing with 3 additions and 1 deletion.
  1. +3 −1 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 = "/";

0 comments on commit cddfbca

Please sign in to comment.