summaryrefslogtreecommitdiffstats
path: root/tests/obj/counter-rule_ok.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/obj/counter-rule_ok.t')
-rw-r--r--tests/obj/counter-rule_ok.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/obj/counter-rule_ok.t b/tests/obj/counter-rule_ok.t
new file mode 100644
index 0000000..48124b5
--- /dev/null
+++ b/tests/obj/counter-rule_ok.t
@@ -0,0 +1,6 @@
+add_table(NFPROTO_IPV4, "test", NULL, NULL, NULL);
+add_basechain("test", "filter", "0", "0", NULL, NULL, "NF_ACCEPT", NULL, NULL, NULL, NULL, NULL, NULL);
+add_obj_counter("test", NULL, NULL, NULL, NULL);
+add_rule("test", "0x1", NULL, NULL, NULL);
+objref("1", "test", NULL, NULL, NULL);
+commit();