summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/transactions/0014chain_1
blob: cddc8a2ec4b1f5c266ef08b2654d5c256857b1c4 (plain)
1
2
3
4
5
6
7
8
9
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