[master] 8a913e2be Cover vmod.debug_acl.c better
Poul-Henning Kamp
phk at FreeBSD.org
Wed Mar 24 13:11:04 UTC 2021
commit 8a913e2bed24e8b376dd210937c1006c7d46f7f5
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Wed Mar 24 13:09:53 2021 +0000
Cover vmod.debug_acl.c better
diff --git a/bin/varnishtest/tests/r01312.vtc b/bin/varnishtest/tests/r01312.vtc
index 0f3fc3978..583871d84 100644
--- a/bin/varnishtest/tests/r01312.vtc
+++ b/bin/varnishtest/tests/r01312.vtc
@@ -64,6 +64,21 @@ varnish v1 -vcl+backend {
set resp.http.ACLfoo = std.ip("127.0.0.1", client.ip) ~ foo;
set resp.http.ACLbar = std.ip("127.0.0.1", client.ip) ~ bar;
+
+ // For coverage of vmod_debug_acl.c
+ debug.sweep_acl(
+ block,
+ std.ip("::"),
+ std.ip("::02ff"),
+ 8
+ );
+ debug.time_acl(
+ block,
+ std.ip("::"),
+ std.ip("::02ff"),
+ 8,
+ 1000
+ );
}
} -start
More information about the varnish-commit
mailing list