From b512f79edbf476fe6b551cb6c7d007d81dd9f154 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Mon, 18 Sep 2023 12:28:23 +0200 Subject: tests/shell: skip catchall tests if kernel lacks support Signed-off-by: Florian Westphal Signed-off-by: Thomas Haller --- tests/shell/features/catchall_element.nft | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/shell/features/catchall_element.nft (limited to 'tests/shell/features/catchall_element.nft') diff --git a/tests/shell/features/catchall_element.nft b/tests/shell/features/catchall_element.nft new file mode 100644 index 00000000..1a02fd61 --- /dev/null +++ b/tests/shell/features/catchall_element.nft @@ -0,0 +1,8 @@ +# aaa31047a6d2 ("netfilter: nftables: add catch-all set element support") +# v5.13-rc1~94^2~10^2~2 +table t { + map m { + type inet_service : inet_service + elements = { * : 42 } + } +} -- cgit v1.2.3