summaryrefslogtreecommitdiffstats
path: root/tests/shell
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2024-04-08 22:56:00 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2024-04-08 23:07:11 +0200
commitafaa3ae1cc12a62fc28bef586aa7dfe39548e152 (patch)
tree12b8aeecc6f684aa54bd21a65370e845c98258e9 /tests/shell
parent5d78eaee0aaccd604f8d2372981f7a9a81abf99c (diff)
tests: shell: maps/{vmap_unary,named_limits} require pipapo set backend
... sets/typeof_sets_concat needs it too. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell')
-rwxr-xr-xtests/shell/testcases/maps/named_limits2
-rwxr-xr-xtests/shell/testcases/maps/vmap_unary2
-rwxr-xr-xtests/shell/testcases/packetpath/set_lookups2
-rwxr-xr-xtests/shell/testcases/sets/typeof_sets_concat2
4 files changed, 8 insertions, 0 deletions
diff --git a/tests/shell/testcases/maps/named_limits b/tests/shell/testcases/maps/named_limits
index 5604f6ca..ac8e434c 100755
--- a/tests/shell/testcases/maps/named_limits
+++ b/tests/shell/testcases/maps/named_limits
@@ -1,5 +1,7 @@
#!/bin/bash
+# NFT_TEST_REQUIRES(NFT_TEST_HAVE_pipapo)
+
dumpfile=$(dirname $0)/dumps/$(basename $0).nft
$NFT -f "$dumpfile" || exit 1
diff --git a/tests/shell/testcases/maps/vmap_unary b/tests/shell/testcases/maps/vmap_unary
index 4038d1c1..f4e1f012 100755
--- a/tests/shell/testcases/maps/vmap_unary
+++ b/tests/shell/testcases/maps/vmap_unary
@@ -1,5 +1,7 @@
#!/bin/bash
+# NFT_TEST_REQUIRES(NFT_TEST_HAVE_pipapo)
+
set -e
RULESET="table ip filter {
diff --git a/tests/shell/testcases/packetpath/set_lookups b/tests/shell/testcases/packetpath/set_lookups
index 84a0000a..85159858 100755
--- a/tests/shell/testcases/packetpath/set_lookups
+++ b/tests/shell/testcases/packetpath/set_lookups
@@ -1,5 +1,7 @@
#!/bin/bash
+# NFT_TEST_REQUIRES(NFT_TEST_HAVE_pipapo)
+
set -e
$NFT -f /dev/stdin <<"EOF"
diff --git a/tests/shell/testcases/sets/typeof_sets_concat b/tests/shell/testcases/sets/typeof_sets_concat
index 07820b7c..34465f1d 100755
--- a/tests/shell/testcases/sets/typeof_sets_concat
+++ b/tests/shell/testcases/sets/typeof_sets_concat
@@ -1,5 +1,7 @@
#!/bin/bash
+# NFT_TEST_REQUIRES(NFT_TEST_HAVE_pipapo)
+
set -e
dumpfile=$(dirname $0)/dumps/$(basename $0).nft