X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fceph_test.c;h=b3c8f0bc9708e5d26eb8531296dfefee112fbb5e;hb=61a4ed99b1a5b6d371bb745933d0efc5dff9505c;hp=3da4098caed46a3766187b715abc6a9a44f063ac;hpb=eec0cd9ca51c5c132ed09fc4699c02f3bd12d748;p=collectd.git diff --git a/src/ceph_test.c b/src/ceph_test.c index 3da4098c..b3c8f0bc 100644 --- a/src/ceph_test.c +++ b/src/ceph_test.c @@ -39,7 +39,7 @@ static int test_handler(void *user, char const *val, char const *key) { size_t i; char status[1024]; - _Bool ok; + bool ok; /* special case for latency metrics. */ if (strcmp("filestore.example_latency", key) == 0) @@ -123,7 +123,7 @@ DEF_TEST(traverse_json) { {"WBThrottle.ios_wb.type", "2"}, {"WBThrottle.inodes_dirtied.type", "2"}, {"WBThrottle.inodes_wb.type", "10"}, - {"filestore.journal_wr_bytes", "3117"}, + {"filestore.journal_wr_bytes.sum", "3117"}, {"filestore.example_latency.avgcount", "42"}, {"filestore.example_latency.sum", "4711"}, }; @@ -187,5 +187,3 @@ int main(void) { END_TEST; } - -/* vim: set sw=2 sts=2 et : */