projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1455 from rubenk/configure-ac-remove-dead-code
[collectd.git]
/
src
/
ceph_test.c
diff --git
a/src/ceph_test.c
b/src/ceph_test.c
index
ae67125
..
acab179
100644
(file)
--- a/
src/ceph_test.c
+++ b/
src/ceph_test.c
@@
-170,11
+170,8
@@
DEF_TEST(parse_keys)
{
char got[DATA_MAX_NAME_LEN];
{
char got[DATA_MAX_NAME_LEN];
- memset (got, 0, sizeof (got));
-
CHECK_ZERO (parse_keys (got, sizeof (got), cases[i].str));
CHECK_ZERO (parse_keys (got, sizeof (got), cases[i].str));
-
- CHECK_ZERO (strcmp (got, cases[i].want));
+ EXPECT_EQ_STR (cases[i].want, got);
}
return 0;
}
return 0;