From 362039ad507b6bc5b9a0a2c4b6eb9e8911563e04 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Mon, 18 Sep 2023 12:28:21 +0200 Subject: tests/shell: skip inet ingress tests if kernel lacks support Split the bridge autoremove test to a new file. Signed-off-by: Florian Westphal Signed-off-by: Thomas Haller --- tests/shell/features/inet_ingress.nft | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/shell/features/inet_ingress.nft (limited to 'tests/shell/features/inet_ingress.nft') diff --git a/tests/shell/features/inet_ingress.nft b/tests/shell/features/inet_ingress.nft new file mode 100644 index 00000000..944a5c77 --- /dev/null +++ b/tests/shell/features/inet_ingress.nft @@ -0,0 +1,7 @@ +# d3519cb89f6d ("netfilter: nf_tables: add inet ingress support") +# v5.10-rc1~107^2~17^2~1 +table inet t { + chain c { + type filter hook ingress device "lo" priority filter; policy accept; + } +} -- cgit v1.2.3