tests: shell: add rbtree reload test case
Florian Westphal
maintainerPATCH 1/1 tests: shell: add rbtree reload test case
Generate a random interval set, then flush and reload it a few times. Note that this test fails with several up-to-date distros that lack nft commit e83e32c8d1cd ("mnl: restore create element command with large batches").
This hints that we will likely need to revert648946966a08 ("netfilter: nft_set_rbtree: validate open interval overlap") soon, or risk major breakage in most current distros .
Signed-off-by Florian Westphal <[email protected]>
--- .../transactions/dumps/large_rbtree.nodump | 0 .../testcases/transactions/large_rbtree.sh | 123 ++++++++++++++++++ 2 files changed, 123 insertions(+) create mode 100644 tests/shell/testcases/transactions/dumps/large_rbtree.nodump create mode 100755 tests/shell/testcases/transactions/large_rbtree.sh
tests/shell/testcases/transactions/dumps/large_rbtree.nodump new file +0 -0
tests/shell/testcases/transactions/large_rbtree.sh new file +123 -0
123 lines not on this page · raw message
Signature · 1 line
2.52.0