]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Add leading and trailing backslashes
authorMichael L. Young <elgueromexicano@gmail.com>
Thu, 19 Apr 2012 21:11:35 +0000 (21:11 +0000)
committerMichael L. Young <elgueromexicano@gmail.com>
Thu, 19 Apr 2012 21:11:35 +0000 (21:11 +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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@362681 65c4cc65-6c06-0410-ace0-fbb531ad65f3

tests/test_linkedlists.c
tests/test_poll.c

index 2d816945ccc101878140383f11a311f42b90c2dd..f8fee9b9ef4fc1bfa84ccae8256bf579182544d3 100644 (file)
@@ -85,7 +85,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";
index 32e48e2e6013193ebfb4392832558601f45a9d61..755bb0f9e338ff8d63d4b26a17202ea278f8034b 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";