]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: maps: add a test case for "limit" objref map
authorFlorian Westphal <fw@strlen.de>
Thu, 29 Feb 2024 10:41:25 +0000 (11:41 +0100)
committerFlorian Westphal <fw@strlen.de>
Thu, 29 Feb 2024 23:38:40 +0000 (00:38 +0100)
commit8d2f36763d23201100a11161b179e29dbec5be3a
treeedd68c3959bc4ff03cb81264e065739952b2d2cb
parent070ec7ce350f8139f9b97dbcb78ad1d7b7bf1196
tests: maps: add a test case for "limit" objref map

check add, delete and removal operations for objref maps.

Also check type vs. typeof declarations and use both
interval and interval+concatenation (rbtree, pipapo).

Signed-off-by: Florian Westphal <fw@strlen.de>
tests/shell/testcases/maps/dumps/named_limits.json-nft [new file with mode: 0644]
tests/shell/testcases/maps/dumps/named_limits.nft [new file with mode: 0644]
tests/shell/testcases/maps/named_limits [new file with mode: 0755]