summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/optimizations/merge_stmts_concat
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2023-11-06 19:49:00 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2023-11-11 09:45:51 +0100
commitf24f9b11a1e9701d0e428e692c99be4624e20b23 (patch)
tree93b67522f9de3d4dd8c2f74dfdb1e533192a9777 /tests/shell/testcases/optimizations/merge_stmts_concat
parent505a6794422238f9f1d590fe8c1ee3ea7fd46579 (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/optimizations/merge_stmts_concat')
-rwxr-xr-xtests/shell/testcases/optimizations/merge_stmts_concat2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/shell/testcases/optimizations/merge_stmts_concat b/tests/shell/testcases/optimizations/merge_stmts_concat
index 9679d862..4db4a6f9 100755
--- a/tests/shell/testcases/optimizations/merge_stmts_concat
+++ b/tests/shell/testcases/optimizations/merge_stmts_concat
@@ -1,5 +1,7 @@
#!/bin/bash
+# NFT_TEST_REQUIRES(NFT_TEST_HAVE_pipapo)
+
set -e
RULESET="table ip x {