summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/transactions/0023rule_1
blob: edc4e8d2984d623f976437bb746784d712f91ff0 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

set -e

RULESET="add table x
add chain x y
add rule x y jump y"

# kernel must return ELOOP
$NFT -f - <<< "$RULESET" 2>/dev/null
echo "E: allowing jump to chain loop"