]> git.kaiwu.me - haproxy.git/commit
REGTESTS: http-rules: test the ACL and map management commands of the CLI
authorWilly Tarreau <w@1wt.eu>
Mon, 21 Sep 2026 20:14:32 +0000 (20:14 +0000)
committerWilly Tarreau <w@1wt.eu>
Wed, 30 Sep 2026 14:26:01 +0000 (16:26 +0200)
commit571b68bcaa8ffd08ea83b540e0bb611d9d735193
treee101563d4bf68983e588dac911012fdbe45be1e1
parent839fafd3582bff649b7a05627b8b8916af8fcf06
REGTESTS: http-rules: test the ACL and map management commands of the CLI

Out of the 13 CLI commands dealing with ACLs and maps, only "show map"
and "clear map" were used by another reg-test. This one covers them all
except the "#<ref>" form of "del" and "set" which requires capturing a
pointer from a previous dump: add acl, add map, del acl, del map, clear
acl, clear map, get acl, get map, set map, show acl, show map, and the
prepare/commit sequence for both.

The atomic replacement is verified from the data plane as well: the
entries added to the prepared version are invisible until the commit,
after which they have replaced the previous ones rather than being
merged with them.

Virtual lists are used so that the test needs no data file.
reg-tests/http-rules/cli_acl_map.vtc [new file with mode: 0644]