From: phk Date: Sun, 5 Oct 2008 21:02:48 +0000 (+0000) Subject: Try to hit a couple of lines more in vcc_acl.c X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec0a95615c2a9101b0f5a3d6bd9932fdc25c2723;p=varnish Try to hit a couple of lines more in vcc_acl.c git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3253 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishtest/tests/v00017.vtc b/varnish-cache/bin/varnishtest/tests/v00017.vtc index 94ccf75d..698f1650 100644 --- a/varnish-cache/bin/varnishtest/tests/v00017.vtc +++ b/varnish-cache/bin/varnishtest/tests/v00017.vtc @@ -61,6 +61,7 @@ varnish v1 -vcl { acl a { ! "10.1.3"; ("en.lille.nisse.rejste"); + (!"en.lille.nisse.rejste"); } sub vcl_recv { if (client.ip ~ a) { pass; } } } @@ -85,6 +86,8 @@ varnish v1 -vcl { "10.1.2"/25; "10.1.2"/26; "10.1.4"/25; + "10.2.66"/23; + ! "10.2.64"/23; } sub vcl_recv { if (client.ip ~ a) { pass; } } }