summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/nft-f/0027split_chains_0
blob: de1e5a006e88cf14a7ea6ea78c8105e786e30bc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

set -e

RULESET="table inet filter {
       chain x {
       }
}
table inet filter {
       chain input {
	       type filter hook input priority filter; policy accept;
	       jump x
       }
}"

$NFT -f - <<< "$RULESET" && exit 0
exit 1