[master] fc4dc01e1 improve acl test coverage

Nils Goroll nils.goroll at uplex.de
Thu Dec 12 11:50:05 UTC 2019


commit fc4dc01e1bd27e86277e9f43d06fd1c128b45aee
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Thu Dec 12 12:46:38 2019 +0100

    improve acl test coverage
    
    I should have included the netnotation right away

diff --git a/bin/varnishtest/tests/c00005.vtc b/bin/varnishtest/tests/c00005.vtc
index 5f6852d0c..78845f332 100644
--- a/bin/varnishtest/tests/c00005.vtc
+++ b/bin/varnishtest/tests/c00005.vtc
@@ -84,7 +84,7 @@ varnish v1 -vcl {
 		"1.3.6.0"/25;
 		"1.3.6.128"/25;
 		"1.3.0.0"/21;
-		"1.4.7.0"/24;
+		"1.4.7";
 		"1.4.6.0"/24;
 	}
 
@@ -139,7 +139,7 @@ logexpect l1 -v v1 -g raw {
 	expect 1 =	ReqHeader	{^\Qip: 1.4.6.64\E$}
 	expect 0 =	VCL_acl	{^\QMATCH acl1 "1.4.6.0"/24\E}
 	expect 1 =	ReqHeader	{^\Qip: 1.4.7.64\E$}
-	expect 0 =	VCL_acl	{^\QMATCH acl1 "1.4.7.0"/24\E}
+	expect 0 =	VCL_acl	{^\QMATCH acl1 "1.4.7"\E}
 } -start
 
 client c1 {


More information about the varnish-commit mailing list