From a011ae78dc2e8b4c8b5c3f5a083e9bdd51fb9b04 Mon Sep 17 00:00:00 2001 From: "Michael L. Young" Date: Thu, 19 Apr 2012 21:14:35 +0000 Subject: [PATCH] Add leading and trailing backslashes A couple of unit tests did not have have leading or trailing backslashes when setting their test category resulting in a warning message being displayed. Added the backslash where needed. ........ Merged revisions 362680 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 362681 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@362682 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- tests/test_linkedlists.c | 4 ++-- tests/test_poll.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_linkedlists.c b/tests/test_linkedlists.c index 6a3b9b2..2200513 100644 --- a/tests/test_linkedlists.c +++ b/tests/test_linkedlists.c @@ -137,7 +137,7 @@ AST_TEST_DEFINE(single_ll_tests) switch (cmd) { case TEST_INIT: info->name = "ll_tests"; - info->category = "/main/linkedlists"; + info->category = "/main/linkedlists/"; info->summary = "single linked list unit test"; info->description = "Test the single linked list API"; @@ -348,7 +348,7 @@ AST_TEST_DEFINE(double_ll_tests) switch (cmd) { case TEST_INIT: info->name = "double_ll_tests"; - info->category = "/main/linkedlists"; + info->category = "/main/linkedlists/"; info->summary = "double linked list unit test"; info->description = "Test the double linked list API"; diff --git a/tests/test_poll.c b/tests/test_poll.c index 32e48e2..755bb0f 100644 --- a/tests/test_poll.c +++ b/tests/test_poll.c @@ -85,7 +85,7 @@ AST_TEST_DEFINE(poll_test) switch (cmd) { case TEST_INIT: info->name = "poll_test"; - info->category = "main/poll/"; + info->category = "/main/poll/"; info->summary = "unit test for the ast_poll() API"; info->description = "Verifies behavior for the ast_poll() API call\n"; -- 1.7.9.5