diff options
author | Florian Westphal <fw@strlen.de> | 2023-09-18 12:28:23 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2023-09-18 13:08:52 +0200 |
commit | b512f79edbf476fe6b551cb6c7d007d81dd9f154 (patch) | |
tree | e6a6922d35d0e85b967ff82659baff014d0f253d /tests/shell/testcases/maps/map_catchall_double_deactivate | |
parent | dc913f03d6cf8b1cb8b7a1364351792152a2faca (diff) |
tests/shell: skip catchall tests if kernel lacks support
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'tests/shell/testcases/maps/map_catchall_double_deactivate')
-rwxr-xr-x | tests/shell/testcases/maps/map_catchall_double_deactivate | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/shell/testcases/maps/map_catchall_double_deactivate b/tests/shell/testcases/maps/map_catchall_double_deactivate index 62fa73ad..651c08a1 100755 --- a/tests/shell/testcases/maps/map_catchall_double_deactivate +++ b/tests/shell/testcases/maps/map_catchall_double_deactivate @@ -1,5 +1,7 @@ #!/bin/bash +# NFT_TEST_REQUIRES(NFT_TEST_HAVE_catchall_element) + $NFT "add table ip test ; add map ip test testmap { type ipv4_addr : verdict; }; add chain ip test testchain; |