summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/cache
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2024-06-13 01:20:17 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2024-06-13 02:26:49 +0200
commitf82a9a2632323df346815dcb6825bf6ac9040a37 (patch)
tree4c2d4a0047bfbc94f8cdd72ce05c96a4491cd944 /tests/shell/testcases/cache
parent58cd3ad4fdf57d4ca568649001b89375ac51dbd5 (diff)
tests: shell: skip NFTA_RULE_POSITION_ID tests if kernel does not support it
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/cache')
-rwxr-xr-xtests/shell/testcases/cache/0011_index_02
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/shell/testcases/cache/0011_index_0 b/tests/shell/testcases/cache/0011_index_0
index c9eb8683..76f2615d 100755
--- a/tests/shell/testcases/cache/0011_index_0
+++ b/tests/shell/testcases/cache/0011_index_0
@@ -1,5 +1,7 @@
#!/bin/bash
+# NFT_TEST_REQUIRES(NFT_TEST_HAVE_position_id)
+
set -e
RULESET="flush ruleset