diff options
-rw-r--r-- | main/test.c | 2 | ||||
-rw-r--r-- | tests/test_heap.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/main/test.c b/main/test.c index 877e5082e..15193f710 100644 --- a/main/test.c +++ b/main/test.c @@ -548,7 +548,7 @@ static struct ast_test *test_alloc(ast_test_cb_t *cb) } if (test->info.category[0] != '/' || test->info.category[strlen(test->info.category) - 1] != '/') { - ast_log(LOG_WARNING, "Test category is missing a leading or trailing backslash for test %s%s", + ast_log(LOG_WARNING, "Test category is missing a leading or trailing backslash for test %s%s\n", test->info.category, test->info.name); } diff --git a/tests/test_heap.c b/tests/test_heap.c index de48f0ae4..3e70848d1 100644 --- a/tests/test_heap.c +++ b/tests/test_heap.c @@ -68,7 +68,7 @@ AST_TEST_DEFINE(heap_test_1) switch (cmd) { case TEST_INIT: info->name = "heap_test_1"; - info->category = "main/heap/"; + info->category = "/main/heap/"; info->summary = "push and pop elements"; info->description = "Push a few elements onto a heap and make sure that they come back off in the right order."; return AST_TEST_NOT_RUN; @@ -129,7 +129,7 @@ AST_TEST_DEFINE(heap_test_2) switch (cmd) { case TEST_INIT: info->name = "heap_test_2"; - info->category = "main/heap/"; + info->category = "/main/heap/"; info->summary = "load test"; info->description = "Push one hundred thousand random elements on to a heap, " @@ -204,7 +204,7 @@ AST_TEST_DEFINE(heap_test_3) switch (cmd) { case TEST_INIT: info->name = "heap_test_3"; - info->category = "main/heap/"; + info->category = "/main/heap/"; info->summary = "random element removal test"; info->description = "Push a hundred thousand random elements on to a heap, " |