summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/transactions/0014chain_1
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/transactions/0014chain_1')
-rwxr-xr-xtests/shell/testcases/transactions/0014chain_110
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/shell/testcases/transactions/0014chain_1 b/tests/shell/testcases/transactions/0014chain_1
new file mode 100755
index 0000000..cddc8a2
--- /dev/null
+++ b/tests/shell/testcases/transactions/0014chain_1
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+RULESET="add table x
+add chain x y
+delete chain x y
+delete chain x y"
+
+$NFT -f - <<< "$RULESET" 2>/dev/null || exit 0
+echo "E: allowing double-removal of chain" >&2
+exit 1