summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/optionals/comments_table_0
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2023-11-07 10:30:13 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2023-11-11 10:05:18 +0100
commit2545416782c89dd9080e6bdd4fadc2cb0333a9d2 (patch)
tree1eec454e3158adf6c4d7185908f8fdb991b0ed70 /tests/shell/testcases/optionals/comments_table_0
parentcfd94cc1be09c8ec9e2e8017dfdcf9694af6c88d (diff)
tests: shell: skip comment tests if kernel lacks support
Skip tests that require comment support Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/optionals/comments_table_0')
-rwxr-xr-xtests/shell/testcases/optionals/comments_table_02
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/shell/testcases/optionals/comments_table_0 b/tests/shell/testcases/optionals/comments_table_0
index a0dfd749..56bb206b 100755
--- a/tests/shell/testcases/optionals/comments_table_0
+++ b/tests/shell/testcases/optionals/comments_table_0
@@ -1,5 +1,7 @@
#!/bin/bash
+# NFT_TEST_REQUIRES(NFT_TEST_HAVE_comment)
+
# comments are shown
$NFT add table test { comment \"test_comment\"\; }