summaryrefslogtreecommitdiffstats
path: root/tests/chain/bind-twice_err.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/chain/bind-twice_err.t')
-rw-r--r--tests/chain/bind-twice_err.t8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/chain/bind-twice_err.t b/tests/chain/bind-twice_err.t
new file mode 100644
index 0000000..69b5443
--- /dev/null
+++ b/tests/chain/bind-twice_err.t
@@ -0,0 +1,8 @@
+add_table(NFPROTO_IPV4, "test", NULL, NULL, NULL);
+add_chain("test", "0x1", NULL, NULL, NULL);
+add_chain("__test0", "0x2", "0x4", NULL, NULL);
+add_rule("test", "0x1", NULL, NULL, NULL);
+immediate("NFT_REG_VERDICT", "NFT_JUMP", "0x2", NULL, NULL);
+add_rule("test", "0x2", NULL, NULL, NULL);
+immediate("NFT_REG_VERDICT", "NFT_JUMP", "0x2", NULL, NULL);
+commit();