summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/json
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2023-11-06 20:51:56 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2023-11-11 09:51:03 +0100
commit665d293f939b7d331f570b9920d25a1175b71425 (patch)
tree84d330c26e20ac2e80f100b28a7a1b6e3f60bd6e /tests/shell/testcases/json
parentaa6f521b427f0c5b2384f90599807ad35b400293 (diff)
tests: shell: skip stateful expression in sets tests if kernel lacks support
Skip tests that require stateful expressions in sets. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/json')
-rwxr-xr-xtests/shell/testcases/json/0002table_map_01
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/shell/testcases/json/0002table_map_0 b/tests/shell/testcases/json/0002table_map_0
index b375e996..a1e9f263 100755
--- a/tests/shell/testcases/json/0002table_map_0
+++ b/tests/shell/testcases/json/0002table_map_0
@@ -1,6 +1,7 @@
#!/bin/bash
# NFT_TEST_REQUIRES(NFT_TEST_HAVE_json)
+# NFT_TEST_REQUIRES(NFT_TEST_HAVE_set_expr)
set -e