From f82a9a2632323df346815dcb6825bf6ac9040a37 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Thu, 13 Jun 2024 01:20:17 +0200 Subject: tests: shell: skip NFTA_RULE_POSITION_ID tests if kernel does not support it Signed-off-by: Pablo Neira Ayuso --- tests/shell/testcases/cache/0011_index_0 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/shell/testcases/cache') 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 -- cgit v1.2.3