summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/chains/0022prio_dummy_1
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/chains/0022prio_dummy_1')
-rwxr-xr-xtests/shell/testcases/chains/0022prio_dummy_19
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/shell/testcases/chains/0022prio_dummy_1 b/tests/shell/testcases/chains/0022prio_dummy_1
new file mode 100755
index 0000000..66c4407
--- /dev/null
+++ b/tests/shell/testcases/chains/0022prio_dummy_1
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+set -e
+
+$NFT add table ip x
+
+$NFT add chain ip x y "{ type filter hook input priority dummy+1; }" &> /dev/null || exit 0
+echo "E: dummy should not be a valid priority." >&2
+exit 1