tests: shell: skip flowtable-uaf if we lack table owner support
Florian Westphal
maintainerPATCH 1/1 tests: shell: skip flowtable-uaf if we lack table owner support
Signed-off-by Florian Westphal <[email protected]>
--- tests/shell/features/table_flag_owner.nft | 5 +++++ tests/shell/testcases/owner/0001-flowtable-uaf | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 tests/shell/features/table_flag_owner.nft
tests/shell/features/table_flag_owner.nft new file +5 -0
@@ -0,0 +1,5 @@ +# 6001a930ce03 ("netfilter: nftables: introduce table ownership") +# v5.12-rc1~200^2~6^2 +table t { + flag owner; +}
tests/shell/testcases/owner/0001-flowtable-uaf +2 -0
@@ -1,5 +1,7 @@ #!/bin/bash +# NFT_TEST_REQUIRES(NFT_TEST_HAVE_table_flag_owner) + set -e $NFT -f - <<EOF
Signature · 1 line
2.41.0