summaryrefslogtreecommitdiffstats
path: root/tests/stats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-10-03 17:49:21 +0800
committerHarald Welte <laforge@gnumonks.org>2017-10-24 16:00:45 +0000
commita7a5065385be71239d49bb60a690402d3153eb34 (patch)
tree8995b7a0ef5867e390ca54f51309161113d9f5ff /tests/stats
parentae510dc4a743e981b40fc5e1fdb4c109f2425e27 (diff)
Convert lib-internal rate_ctr from '.' separator to ':' separator
The rate_ctr.c code would do this mangling automatically, but let's avoid using this from new versions of our code for simplicity/explicitness. Change-Id: I24a556f447cfac25efb6e83cac2d0c2972d98fe3
Diffstat (limited to 'tests/stats')
-rw-r--r--tests/stats/stats_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/stats/stats_test.c b/tests/stats/stats_test.c
index 02344600..61673ba8 100644
--- a/tests/stats/stats_test.c
+++ b/tests/stats/stats_test.c
@@ -35,12 +35,12 @@ enum test_ctr {
};
static const struct rate_ctr_desc ctr_description[] = {
- [TEST_A_CTR] = { "ctr.a", "The A counter value"},
- [TEST_B_CTR] = { "ctr.b", "The B counter value"},
+ [TEST_A_CTR] = { "ctr:a", "The A counter value"},
+ [TEST_B_CTR] = { "ctr:b", "The B counter value"},
};
static const struct rate_ctr_group_desc ctrg_desc = {
- .group_name_prefix = "ctr-test.one",
+ .group_name_prefix = "ctr-test:one",
.group_description = "Counter test number 1",
.num_ctr = ARRAY_SIZE(ctr_description),
.ctr_desc = ctr_description,