summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2025-05-27 11:41:17 +0200
committerPaolo Abeni <pabeni@redhat.com>2025-05-28 09:48:41 +0200
commit6da5f1b4b4a06ebd3af1510ebd3ecf60a5037936 (patch)
treedb952d21946fc456de079e8fc33a31df92dff9cd /tools/perf/scripts/python
parent290e5d3c49f687c1567bde634dc33d57b0674919 (diff)
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 <phil@nwl.cc> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org> Link: https://patch.msgid.link/20250527094117.18589-1-phil@nwl.cc Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions