diff options
author | Florian Westphal <fw@strlen.de> | 2023-09-18 12:28:23 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2023-09-18 13:08:52 +0200 |
commit | b512f79edbf476fe6b551cb6c7d007d81dd9f154 (patch) | |
tree | e6a6922d35d0e85b967ff82659baff014d0f253d /tests/shell/features/catchall_element.nft | |
parent | dc913f03d6cf8b1cb8b7a1364351792152a2faca (diff) |
tests/shell: skip catchall tests if kernel lacks support
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'tests/shell/features/catchall_element.nft')
-rw-r--r-- | tests/shell/features/catchall_element.nft | 8 |
1 files changed, 8 insertions, 0 deletions
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 } + } +} |