diff options
Diffstat (limited to 'tests/shell/testcases/transactions/0023rule_1')
-rwxr-xr-x | tests/shell/testcases/transactions/0023rule_1 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/shell/testcases/transactions/0023rule_1 b/tests/shell/testcases/transactions/0023rule_1 new file mode 100755 index 0000000..e58c088 --- /dev/null +++ b/tests/shell/testcases/transactions/0023rule_1 @@ -0,0 +1,10 @@ +#!/bin/bash + +RULESET="add table x +add chain x y +add rule x y jump y" + +# kernel must return ELOOP +$NFT -f - <<< "$RULESET" 2>/dev/null || exit 0 +echo "E: allowing jump to chain loop" +exit 1 |