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

# Tests recursive definition of a variable.

set -e

RULESET="
define var1 = \$var1

table ip t {
	chain c {
		iif \$var1
	}
}"

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