#!/bin/bash
cd $(dirname $0)
nft=../../src/nft
nft_opts="-nn -a --echo"
debug=false
debug_echo() {
$debug || return
echo "$@"
}
trap "$nft flush ruleset" EXIT
for testcase in testcases/*.t; do
echo "running tests from file $(basename $testcase)"
# files are like this:
#
# [;;