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_17
1 files changed, 7 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 00000000..ecdd9456
--- /dev/null
+++ b/tests/shell/testcases/chains/0022prio_dummy_1
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+set -e
+
+$NFT add table ip x
+$NFT add chain ip x y "{ type filter hook input priority dummy+1; }" &> /dev/null
+echo "E: dummy should not be a valid priority." >&2