Commit 6da5f1b4 authored by Phil Sutter's avatar Phil Sutter Committed by Paolo Abeni
Browse files

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: 73db1b5d ("selftests: netfilter: Torture nftables netdev hooks")
Signed-off-by: default avatarPhil Sutter <phil@nwl.cc>
Acked-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
Link: https://patch.msgid.link/20250527094117.18589-1-phil@nwl.cc


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 290e5d3c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment