]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: add atomic chain replace test
authorFlorian Westphal <fw@strlen.de>
Sun, 2 Mar 2025 06:50:27 +0000 (07:50 +0100)
committerFlorian Westphal <fw@strlen.de>
Thu, 6 Mar 2025 02:59:50 +0000 (03:59 +0100)
commit5758527a2b5753354aa154446d0753876a6a71b3
treeb3abfb29d2cd228aba480782faf6ad087451f423
parentbaeb2c200f60f2191dc4f175e1432733ced2f6e0
tests: add atomic chain replace test

Add a test that replaces one base chain and check that no
filtered packets make it through, i.e. that the 'old chain'
doesn't disappear before new one is active.

Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
tests/shell/testcases/transactions/atomic_replace.sh [new file with mode: 0755]
tests/shell/testcases/transactions/dumps/atomic_replace.sh.nodump [new file with mode: 0644]