]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests/shell: Skip netdev_chain_dev_addremove on tainted kernels
authorPhil Sutter <phil@nwl.cc>
Thu, 8 May 2025 10:08:39 +0000 (12:08 +0200)
committerPhil Sutter <phil@nwl.cc>
Thu, 8 May 2025 21:50:02 +0000 (23:50 +0200)
commit0a500c710e9807d622533062747dae80d1e5b235
tree781796278dd193f29b916a50c591027c3bce6fad
parentf7d932bff5c9550905659dd4a5df23ca46f84935
tests/shell: Skip netdev_chain_dev_addremove on tainted kernels

The test checks taint state to indicate success or failure. Since this
won't work if the kernel is already tainted at start, skip the test
instead of failing it.

Fixes: 02dbf86f39410 ("tests: shell: add a test case for netdev ruleset flush + parallel link down")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Reviewed-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/shell/testcases/chains/netdev_chain_dev_addremove