From cfd94cc1be09c8ec9e2e8017dfdcf9694af6c88d Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 7 Nov 2023 10:05:59 +0100 Subject: tests: shell: skip NAT netmap tests if kernel lacks support Skip tests that require NAT netmap support Signed-off-by: Pablo Neira Ayuso --- tests/shell/testcases/sets/0046netmap_0 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/shell/testcases/sets/0046netmap_0') 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; -- cgit v1.2.3