summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/parsing/describe
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/parsing/describe')
-rwxr-xr-xtests/shell/testcases/parsing/describe7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/shell/testcases/parsing/describe b/tests/shell/testcases/parsing/describe
new file mode 100755
index 0000000..2ee072e
--- /dev/null
+++ b/tests/shell/testcases/parsing/describe
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+errmsg='Error: unknown ip option type/field'
+
+str=$($NFT describe ip option rr value 2>&1 | head -n 1)
+
+[ "$str" = "$errmsg" ] && exit 0