Commit 8a913e2b authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Cover vmod.debug_acl.c better

parent 1c86cf44
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment