[asterisk-commits] rmudgett: branch rmudgett/ao2_red_black r343488 - /team/rmudgett/ao2_red_blac...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Nov 4 18:46:03 CDT 2011


Author: rmudgett
Date: Fri Nov  4 18:46:00 2011
New Revision: 343488

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=343488
Log:
Fix test output message to reference the correct macro.

Modified:
    team/rmudgett/ao2_red_black/tests/test_linkedlists.c

Modified: team/rmudgett/ao2_red_black/tests/test_linkedlists.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/ao2_red_black/tests/test_linkedlists.c?view=diff&rev=343488&r1=343487&r2=343488
==============================================================================
--- team/rmudgett/ao2_red_black/tests/test_linkedlists.c (original)
+++ team/rmudgett/ao2_red_black/tests/test_linkedlists.c Fri Nov  4 18:46:00 2011
@@ -366,7 +366,7 @@
 	}
 
 	if (AST_DLLIST_REMOVE_VERIFY(&test_list, bogus, dbl_list)) {
-		ast_test_status_update(test, "AST_DLLIST_REMOVE should safely return NULL for missing element from empty list\n");
+		ast_test_status_update(test, "AST_DLLIST_REMOVE_VERIFY should safely return NULL for missing element from empty list\n");
 		return AST_TEST_FAIL;
 	}
 
@@ -403,12 +403,12 @@
 	AST_DLLIST_INSERT_TAIL(&test_list, &d, dbl_list);
 	MATCH_OR_FAIL_DBL(&test_list, "ABCD", buf);
 	if (AST_DLLIST_REMOVE_VERIFY(&test_list, bogus, dbl_list)) {
-		ast_test_status_update(test, "AST_DLLIST_REMOVE should safely return NULL for missing element\n");
+		ast_test_status_update(test, "AST_DLLIST_REMOVE_VERIFY should safely return NULL for missing element\n");
 		return AST_TEST_FAIL;
 	}
 	bogus = NULL;
 	if (AST_DLLIST_REMOVE_VERIFY(&test_list, bogus, dbl_list)) {
-		ast_test_status_update(test, "AST_DLLIST_REMOVE should safely return NULL for element set to NULL\n");
+		ast_test_status_update(test, "AST_DLLIST_REMOVE_VERIFY should safely return NULL for element set to NULL\n");
 		return AST_TEST_FAIL;
 	}
 	AST_DLLIST_REMOVE(&test_list, &b, dbl_list);
@@ -424,7 +424,7 @@
 		return AST_TEST_FAIL;
 	}
 	if (AST_DLLIST_REMOVE_VERIFY(&test_list, bogus, dbl_list)) {
-		ast_test_status_update(test, "AST_DLLIST_REMOVE should safely return NULL asked to remove a NULL pointer from an empty list\n");
+		ast_test_status_update(test, "AST_DLLIST_REMOVE_VERIFY should safely return NULL asked to remove a NULL pointer from an empty list\n");
 		return AST_TEST_FAIL;
 	}
 




More information about the asterisk-commits mailing list