From b512f79edbf476fe6b551cb6c7d007d81dd9f154 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Mon, 18 Sep 2023 12:28:23 +0200 Subject: tests/shell: skip catchall tests if kernel lacks support Signed-off-by: Florian Westphal Signed-off-by: Thomas Haller --- tests/shell/testcases/maps/map_catchall_double_deactivate | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/shell/testcases/maps/map_catchall_double_deactivate') 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; -- cgit v1.2.3