summaryrefslogtreecommitdiffstats
path: root/tests/obj/map-counter_ok.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/obj/map-counter_ok.t')
-rw-r--r--tests/obj/map-counter_ok.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/obj/map-counter_ok.t b/tests/obj/map-counter_ok.t
new file mode 100644
index 0000000..b869431
--- /dev/null
+++ b/tests/obj/map-counter_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_set("test", "0x40", "2", "13", NULL, NULL, NULL, NULL, NULL, "0x1", NULL, NULL, "1", NULL, NULL);
+add_elem("0016", NULL, NULL, NULL, NULL, NULL, NULL, NULL, "test", NULL);
+commit();