summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/optionals/comments_table_0
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/optionals/comments_table_0')
-rwxr-xr-xtests/shell/testcases/optionals/comments_table_07
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/shell/testcases/optionals/comments_table_0 b/tests/shell/testcases/optionals/comments_table_0
new file mode 100755
index 00000000..56bb206b
--- /dev/null
+++ b/tests/shell/testcases/optionals/comments_table_0
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+# NFT_TEST_REQUIRES(NFT_TEST_HAVE_comment)
+
+# comments are shown
+
+$NFT add table test { comment \"test_comment\"\; }