Florian Westphal
dd99c29e83
selftests: netfilter: fix conntrack_dump_flush retval on unsupported kernel
With CONFIG_NETFILTER=n test passes instead of skip. Before:
./run_kselftest.sh -t net/netfilter:conntrack_dump_flush
[..]
# Starting 3 tests from 1 test cases.
# RUN conntrack_dump_flush.test_dump_by_zone ...
mnl_socket_open: Protocol not supported
[..]
ok 3 conntrack_dump_flush.test_flush_by_zone_default
# PASSED: 3 / 3 tests passed.
# Totals: pass:3 fail:0 xfail:0 xpass:0 skip:0 error:0
After:
mnl_socket_open: Protocol not supported
[..]
ok 3 conntrack_dump_flush.test_flush_by_zone_default # SKIP cannot open netlink_netfilter socket
# PASSED: 3 / 3 tests passed.
# Totals: pass:0 fail:0 xfail:0 xpass:0 skip:3 error:0
Signed-off-by: Florian Westphal <fw@strlen.de>
Link: https://lore.kernel.org/r/20240422103358.3511-1-fw@strlen.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-04-24 17:15:54 -07:00
..
2024-03-22 10:22:45 -07:00
2024-03-28 17:25:57 -07:00
2024-02-20 18:06:25 -08:00
2024-02-24 08:41:20 +08:00
2024-04-10 21:25:40 +00:00
2024-01-23 22:06:56 +00:00
2024-04-11 14:23:47 -07:00
2024-03-28 17:25:57 -07:00
2024-02-22 10:24:38 -08:00
2024-04-22 17:20:42 -07:00
2024-03-30 22:12:37 +01:00
2024-04-01 10:49:27 +01:00
2024-04-10 13:13:27 -07:00
2024-02-23 14:19:07 -08:00
2024-04-24 17:15:54 -07:00
2024-03-20 05:39:06 +01:00
2024-03-20 05:39:06 +01:00
2024-03-05 11:38:14 +01:00
2024-02-04 11:28:06 -10:00
2024-03-26 11:07:21 -07:00