From: Michael L. Young Date: Thu, 19 Apr 2012 21:14:35 +0000 (+0000) Subject: Add leading and trailing backslashes X-Git-Tag: 11.0.0-beta1~422 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a011ae78dc2e8b4c8b5c3f5a083e9bdd51fb9b04;p=thirdparty%2Fasterisk.git 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 --- diff --git a/tests/test_linkedlists.c b/tests/test_linkedlists.c index 6a3b9b2b0c..22005139b3 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 32e48e2e60..755bb0f9e3 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";