Files
linux/tools/testing
Florian Westphal a20a01ae89 selftests: netfilter: fix return value in zone subtest
zone subtest prints FAIL, but did not set 'ret=1', so kselftest
framework reports success.

While at it, also fail when "nft -f" returns an error.

Noticed thanks to a (broken) local patch that should have caused this
selftest (resp. the kselftest framework) to report a failure.

Fixes: 33b8aad21a ("selftests: netfilter: add a vrf+conntrack testcase")
Signed-off-by: Florian Westphal <[email protected]>
Reviewed-by: Fernando Fernandez Mancera <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
2026-10-18 02:35:05 +02:00
..