[asterisk-commits] elguero: branch 1.8 r362680 - /branches/1.8/tests/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Apr 19 16:05:57 CDT 2012


Author: elguero
Date: Thu Apr 19 16:05:54 2012
New Revision: 362680

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=362680
Log:
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.

Modified:
    branches/1.8/tests/test_linkedlists.c
    branches/1.8/tests/test_poll.c

Modified: branches/1.8/tests/test_linkedlists.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/tests/test_linkedlists.c?view=diff&rev=362680&r1=362679&r2=362680
==============================================================================
--- branches/1.8/tests/test_linkedlists.c (original)
+++ branches/1.8/tests/test_linkedlists.c Thu Apr 19 16:05:54 2012
@@ -85,7 +85,7 @@
 	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";

Modified: branches/1.8/tests/test_poll.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/tests/test_poll.c?view=diff&rev=362680&r1=362679&r2=362680
==============================================================================
--- branches/1.8/tests/test_poll.c (original)
+++ branches/1.8/tests/test_poll.c Thu Apr 19 16:05:54 2012
@@ -85,7 +85,7 @@
 	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";




More information about the asterisk-commits mailing list