diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-11-06 19:49:00 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-11-11 09:45:51 +0100 |
commit | f24f9b11a1e9701d0e428e692c99be4624e20b23 (patch) | |
tree | 93b67522f9de3d4dd8c2f74dfdb1e533192a9777 /tests/shell/testcases/maps | |
parent | 505a6794422238f9f1d590fe8c1ee3ea7fd46579 (diff) |
tests: shell: skip pipapo tests if kernel lacks support
Skip tests that require net/netfilter/nft_set_pipapo support.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/maps')
-rwxr-xr-x | tests/shell/testcases/maps/0013map_0 | 2 | ||||
-rwxr-xr-x | tests/shell/testcases/maps/anon_objmap_concat | 2 | ||||
-rwxr-xr-x | tests/shell/testcases/maps/typeof_integer_0 | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/tests/shell/testcases/maps/0013map_0 b/tests/shell/testcases/maps/0013map_0 index 70d7fd3b..c8d20cee 100755 --- a/tests/shell/testcases/maps/0013map_0 +++ b/tests/shell/testcases/maps/0013map_0 @@ -1,5 +1,7 @@ #!/bin/bash +# NFT_TEST_REQUIRES(NFT_TEST_HAVE_pipapo) + set -e RULESET=" diff --git a/tests/shell/testcases/maps/anon_objmap_concat b/tests/shell/testcases/maps/anon_objmap_concat index 07820b7c..34465f1d 100755 --- a/tests/shell/testcases/maps/anon_objmap_concat +++ b/tests/shell/testcases/maps/anon_objmap_concat @@ -1,5 +1,7 @@ #!/bin/bash +# NFT_TEST_REQUIRES(NFT_TEST_HAVE_pipapo) + set -e dumpfile=$(dirname $0)/dumps/$(basename $0).nft diff --git a/tests/shell/testcases/maps/typeof_integer_0 b/tests/shell/testcases/maps/typeof_integer_0 index 0deff5ee..e93604e8 100755 --- a/tests/shell/testcases/maps/typeof_integer_0 +++ b/tests/shell/testcases/maps/typeof_integer_0 @@ -1,5 +1,7 @@ #!/bin/bash +# NFT_TEST_REQUIRES(NFT_TEST_HAVE_pipapo) + EXPECTED="table inet t { map m1 { typeof udp length . @ih,32,32 : verdict |