summaryrefslogtreecommitdiffstats
path: root/tests/shell
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell')
-rwxr-xr-xtests/shell/testcases/transactions/0002table_01
-rw-r--r--tests/shell/testcases/transactions/dumps/0002table_0.nft4
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/shell/testcases/transactions/0002table_0 b/tests/shell/testcases/transactions/0002table_0
index 246b1092..c5f31a6f 100755
--- a/tests/shell/testcases/transactions/0002table_0
+++ b/tests/shell/testcases/transactions/0002table_0
@@ -5,6 +5,7 @@ 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"
diff --git a/tests/shell/testcases/transactions/dumps/0002table_0.nft b/tests/shell/testcases/transactions/dumps/0002table_0.nft
index 6eb70726..429cbc34 100644
--- a/tests/shell/testcases/transactions/dumps/0002table_0.nft
+++ b/tests/shell/testcases/transactions/dumps/0002table_0.nft
@@ -1,3 +1,7 @@
table ip x {
flags dormant
+
+ chain y {
+ type nat hook prerouting priority filter; policy accept;
+ }
}