diff options
Diffstat (limited to 'tests/shell/testcases/transactions/0002table_0')
-rwxr-xr-x | tests/shell/testcases/transactions/0002table_0 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/shell/testcases/transactions/0002table_0 b/tests/shell/testcases/transactions/0002table_0 new file mode 100755 index 0000000..c5f31a6 --- /dev/null +++ b/tests/shell/testcases/transactions/0002table_0 @@ -0,0 +1,15 @@ +#!/bin/bash + +set -e + +RULESET="add table x +delete table x +add table x +add chain x y { type nat hook prerouting priority 0; policy accept; } +add table x { flags dormant; }" + +$NFT -f - <<< "$RULESET" +if [ $? -ne 0 ] ; then + echo "E: unable to load good ruleset" >&2 + exit 1 +fi |