summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/sets/0046netmap_0
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2023-11-07 10:05:59 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2023-11-11 09:51:12 +0100
commitcfd94cc1be09c8ec9e2e8017dfdcf9694af6c88d (patch)
tree5fb4e288d7f2fa5ca5c73f49c5c83bb95b7c518a /tests/shell/testcases/sets/0046netmap_0
parent665d293f939b7d331f570b9920d25a1175b71425 (diff)
tests: shell: skip NAT netmap tests if kernel lacks support
Skip tests that require NAT netmap support Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/sets/0046netmap_0')
-rwxr-xr-xtests/shell/testcases/sets/0046netmap_02
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/shell/testcases/sets/0046netmap_0 b/tests/shell/testcases/sets/0046netmap_0
index 60bda401..7533623e 100755
--- a/tests/shell/testcases/sets/0046netmap_0
+++ b/tests/shell/testcases/sets/0046netmap_0
@@ -1,5 +1,7 @@
#!/bin/bash
+# NFT_TEST_REQUIRES(NFT_TEST_HAVE_netmap)
+
EXPECTED="table ip x {
chain y {
type nat hook postrouting priority srcnat; policy accept;