From 8ecf78c181ad7afa727f84460042fba7378d9c0e Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 21 Nov 2023 20:29:55 +0100 Subject: tests: shell: skip stateful object updates if unsupported Signed-off-by: Pablo Neira Ayuso --- tests/shell/testcases/optionals/update_object_handles_0 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/shell/testcases/optionals') diff --git a/tests/shell/testcases/optionals/update_object_handles_0 b/tests/shell/testcases/optionals/update_object_handles_0 index 8b12b8c5..ccd96779 100755 --- a/tests/shell/testcases/optionals/update_object_handles_0 +++ b/tests/shell/testcases/optionals/update_object_handles_0 @@ -1,5 +1,7 @@ #!/bin/bash +# NFT_TEST_REQUIRES(NFT_TEST_HAVE_stateful_object_update) + set -e $NFT add table test-ip $NFT add counter test-ip traffic-counter -- cgit v1.2.3