diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-06-13 01:20:17 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-06-13 02:26:49 +0200 |
commit | f82a9a2632323df346815dcb6825bf6ac9040a37 (patch) | |
tree | 4c2d4a0047bfbc94f8cdd72ce05c96a4491cd944 /tests/shell/testcases/cache | |
parent | 58cd3ad4fdf57d4ca568649001b89375ac51dbd5 (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-x | tests/shell/testcases/cache/0011_index_0 | 2 |
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 |