summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/json
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2025-05-29 11:49:18 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2025-05-29 12:17:41 +0200
commit883f79de486604e310c5093cfbe4d704794e4825 (patch)
tree6259f0ee29c1285267e7e7636f75bf0c84015de6 /tests/shell/testcases/json
parent610089f273c968c983d965f3cac42e4d9784cde8 (diff)
tests: shell: check for features not available in 5.4
5.4 -stable kernels report failures in these tests, this kernel version is lacking these feature. The bitshift requirement is needed by this ruleset: table ip x { set s13 { typeof tcp option mptcp subtype elements = { mp-join, dss } } chain y { tcp option mptcp subtype @s13 accept } } which uses bitshift in its bytecode. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/json')
-rwxr-xr-xtests/shell/testcases/json/single_flag1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/shell/testcases/json/single_flag b/tests/shell/testcases/json/single_flag
index 41fab63b..43ae4528 100755
--- a/tests/shell/testcases/json/single_flag
+++ b/tests/shell/testcases/json/single_flag
@@ -7,6 +7,7 @@
# recognized in input (checked against standard syntax input/output)
# NFT_TEST_REQUIRES(NFT_TEST_HAVE_json)
+# NFT_TEST_REQUIRES(NFT_TEST_HAVE_table_flag_persist)
set -e