summaryrefslogtreecommitdiffstats
path: root/tests/expr/immediate/bad-jump-other-table_err.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/expr/immediate/bad-jump-other-table_err.t')
-rw-r--r--tests/expr/immediate/bad-jump-other-table_err.t7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/expr/immediate/bad-jump-other-table_err.t b/tests/expr/immediate/bad-jump-other-table_err.t
new file mode 100644
index 0000000..67bef92
--- /dev/null
+++ b/tests/expr/immediate/bad-jump-other-table_err.t
@@ -0,0 +1,7 @@
+add_table(NFPROTO_IPV4, "test2", NULL, NULL, NULL);
+add_chain("test2", "0x2", NULL, NULL, NULL);
+add_table(NFPROTO_IPV4, "test", NULL, NULL, NULL);
+add_chain("test1", "0x1", NULL, NULL, NULL);
+add_rule("test1", "0x1", NULL, NULL, NULL);
+immediate("NFT_REG_VERDICT", "NFT_JUMP", "0x2", "test2", NULL);
+commit();