Add leading and trailing backslashes
authorMichael L. Young <elgueromexicano@gmail.com>
Thu, 19 Apr 2012 21:14:35 +0000 (21:14 +0000)
committerMichael L. Young <elgueromexicano@gmail.com>
Thu, 19 Apr 2012 21:14:35 +0000 (21:14 +0000)
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
tests/test_poll.c

index 6a3b9b2..2200513 100644 (file)
@@ -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";
index 32e48e2..755bb0f 100644 (file)
@@ -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";