Skip to contentSkip to conversation

tests: shell: add rbtree reload test case

PATCH New Florian Westphal 1 participant 1 message Mar 9 netfilter

lore
Share & tools
lore

Florian Westphal

author maintainer
#0 lore raw

PATCH 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 revert
648946966a08 ("netfilter: nft_set_rbtree: validate open interval overlap") soon, or risk major breakage in most current distros .

---
 .../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
new file mode 100644
index 000000000000..e69de29bb2d1
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