From fff913c1eefbc84eb2d9c52038ef29fe881e9ee9 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 21 Nov 2023 21:16:38 +0100 Subject: tests: shell: skip secmark tests if kernel does not support it Signed-off-by: Pablo Neira Ayuso --- tests/shell/features/secmark.nft | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/shell/features/secmark.nft (limited to 'tests/shell/features/secmark.nft') diff --git a/tests/shell/features/secmark.nft b/tests/shell/features/secmark.nft new file mode 100644 index 00000000..ccbb572f --- /dev/null +++ b/tests/shell/features/secmark.nft @@ -0,0 +1,7 @@ +# fb961945457f ("netfilter: nf_tables: add SECMARK support") +# v4.20-rc1~14^2~125^2~5 +table inet x { + secmark ssh_server { + "system_u:object_r:ssh_server_packet_t:s0" + } +} -- cgit v1.2.3