[asterisk-commits] kpfleming: branch tilghman/kill_stubs r276437 - /team/tilghman/kill_stubs/tests/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 14 14:28:24 CDT 2010


Author: kpfleming
Date: Wed Jul 14 14:28:13 2010
New Revision: 276437

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=276437
Log:
additional debugging output

Modified:
    team/tilghman/kill_stubs/tests/test_utils.c

Modified: team/tilghman/kill_stubs/tests/test_utils.c
URL: http://svnview.digium.com/svn/asterisk/team/tilghman/kill_stubs/tests/test_utils.c?view=diff&rev=276437&r1=276436&r2=276437
==============================================================================
--- team/tilghman/kill_stubs/tests/test_utils.c (original)
+++ team/tilghman/kill_stubs/tests/test_utils.c Wed Jul 14 14:28:13 2010
@@ -253,6 +253,16 @@
 		break;
 	}
 
+	ast_test_status_update(test,
+			       "address of __stub__ast_crypto_loaded is %p\n",
+			       __stub__ast_crypto_loaded);
+	ast_test_status_update(test,
+			       "address of __ref__ast_crypto_loaded is %p\n",
+			       __ref__ast_crypto_loaded);
+	ast_test_status_update(test,
+			       "pointer to ast_crypto_loaded is %p\n",
+			       ast_crypto_loaded);
+
 	return ast_crypto_loaded() ? AST_TEST_PASS : AST_TEST_FAIL;
 }
 
@@ -295,6 +305,16 @@
 	case TEST_EXECUTE:
 		break;
 	}
+
+	ast_test_status_update(test,
+			       "address of __stub__ast_agi_register is %p\n",
+			       __stub__ast_agi_register);
+	ast_test_status_update(test,
+			       "address of __ref__ast_agi_register is %p\n",
+			       __ref__ast_agi_register);
+	ast_test_status_update(test,
+			       "pointer to ast_agi_register is %p\n",
+			       ast_agi_register);
 
 	if (ast_agi_register(ast_module_info->self, &noop_command) == 0) {
 		return AST_TEST_FAIL;




More information about the asterisk-commits mailing list