summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/nft-f/0021list_ruleset_0
blob: 37729b4f86d9c18eb7f79e0f295bcc62fb3beb1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

# Tests use of variables in jump statements

set -e

RULESET="table filter {
 chain prerouting {
  type filter hook prerouting priority -50
 }
}
list  ruleset
"

exec $NFT -f - <<< "$RULESET"