aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/netns.py
diff options
context:
space:
mode:
authorPhil Sutter <[email protected]>2025-05-27 09:41:17 +0000
committerPaolo Abeni <[email protected]>2025-05-28 07:48:41 +0000
commit6da5f1b4b4a06ebd3af1510ebd3ecf60a5037936 (patch)
treedb952d21946fc456de079e8fc33a31df92dff9cd /tools/testing/selftests/net/lib/py/netns.py
parentnet: mana: Add support for Multi Vports on Bare metal (diff)
downloadkernel-6da5f1b4b4a06ebd3af1510ebd3ecf60a5037936.tar.gz
kernel-6da5f1b4b4a06ebd3af1510ebd3ecf60a5037936.zip
selftests: netfilter: Fix skip of wildcard interface test
The script is supposed to skip wildcard interface testing if unsupported by the host's nft tool. The failing check caused script abort due to 'set -e' though. Fix this by running the potentially failing nft command inside the if-conditional pipe. Fixes: 73db1b5dab6f ("selftests: netfilter: Torture nftables netdev hooks") Signed-off-by: Phil Sutter <[email protected]> Acked-by: Pablo Neira Ayuso <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/netns.py')
0 files changed, 0 insertions, 0 deletions