summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2023-11-20 13:55:36 +0100
committerFlorian Westphal <fw@strlen.de>2023-11-21 18:53:47 +0100
commit4e8b044c30d8d3748df96925f2c8e8cf4bc76fb2 (patch)
tree45cb291eea99eaec1f92063507f586de6998db69
parent25b0ac520234cb3326c5cdadbea6b0b80666a338 (diff)
tests: shell: skip ct expectation test if feature is missing
Signed-off-by: Florian Westphal <fw@strlen.de>
-rwxr-xr-xtests/shell/testcases/nft-f/0018ct_expectation_obj_02
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/shell/testcases/nft-f/0018ct_expectation_obj_0 b/tests/shell/testcases/nft-f/0018ct_expectation_obj_0
index 4f9872f6..b288457c 100755
--- a/tests/shell/testcases/nft-f/0018ct_expectation_obj_0
+++ b/tests/shell/testcases/nft-f/0018ct_expectation_obj_0
@@ -1,5 +1,7 @@
#!/bin/bash
+# NFT_TEST_REQUIRES(NFT_TEST_HAVE_ctexpect)
+
EXPECTED='table ip filter {
ct expectation ctexpect{
protocol tcp