projects
/
trust_router.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up monitoring format/naming
[trust_router.git]
/
mon
/
tests
/
test_mon_resp_encode.c
diff --git
a/mon/tests/test_mon_resp_encode.c
b/mon/tests/test_mon_resp_encode.c
index
081ed2d
..
6945b76
100644
(file)
--- a/
mon/tests/test_mon_resp_encode.c
+++ b/
mon/tests/test_mon_resp_encode.c
@@
-64,10
+64,10
@@
static char *show_success()
mon_opt_type_to_string(OPT_TYPE_SHOW_VERSION),
json_string("1.2.3-4")));
assert(! json_object_set_new(payload,
mon_opt_type_to_string(OPT_TYPE_SHOW_VERSION),
json_string("1.2.3-4")));
assert(! json_object_set_new(payload,
- mon_opt_type_to_string(OPT_TYPE_SHOW_
SERIAL
),
+ mon_opt_type_to_string(OPT_TYPE_SHOW_
CONFIG_FILES
),
json_integer(1234567890)));
assert(! json_object_set_new(payload,
json_integer(1234567890)));
assert(! json_object_set_new(payload,
- mon_opt_type_to_string(OPT_TYPE_SHOW_
SERIAL
),
+ mon_opt_type_to_string(OPT_TYPE_SHOW_
CONFIG_FILES
),
json_integer(86400)));
assert(! json_object_set_new(payload,
mon_opt_type_to_string(OPT_TYPE_SHOW_TID_REQ_PENDING),
json_integer(86400)));
assert(! json_object_set_new(payload,
mon_opt_type_to_string(OPT_TYPE_SHOW_TID_REQ_PENDING),