#!/bin/bash # Tests use of variables in priority specification set -e RULESET=" define pri = { 127.0.0.1 } table inet global { chain prerouting { type filter hook prerouting priority \$pri policy accept } }" $NFT -f - <<< "$RULESET" && exit 1 exit 0