diff --git a/test/test_probes/test_probes.c b/test/test_probes/test_probes.c index aa12ec59209f6ef61423c61ff43fa74b2a15c59c..831e3490828686bc5ef6fceb091b1ad4f0a95c69 100644 --- a/test/test_probes/test_probes.c +++ b/test/test_probes/test_probes.c @@ -48,8 +48,10 @@ static void TestSystemMeminfoProbe(void) CU_ASSERT(g_probe != NULL); CU_ASSERT(g_probe->fifo != NULL); (void)snprintf(g_probe->name, MAX_PROBE_NAME_LEN - 1, "test_meminfo_probe"); - - // probe reads the data in file + + // cover report_log the function + params.logs = 1; + // call the mem probe ret = system_meminfo_probe(¶ms); CU_ASSERT(ret == 0); // test the nprintf function