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

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


Author: kpfleming
Date: Wed Jul 14 14:31:03 2010
New Revision: 276438

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=276438
Log:
make agi_loaded_test actually fail when res_agi is not loaded

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=276438&r1=276437&r2=276438
==============================================================================
--- team/tilghman/kill_stubs/tests/test_utils.c (original)
+++ team/tilghman/kill_stubs/tests/test_utils.c Wed Jul 14 14:31:03 2010
@@ -316,7 +316,7 @@
 			       "pointer to ast_agi_register is %p\n",
 			       ast_agi_register);
 
-	if (ast_agi_register(ast_module_info->self, &noop_command) == 0) {
+	if (ast_agi_register(ast_module_info->self, &noop_command) == AST_OPTIONAL_API_UNAVAILABLE) {
 		return AST_TEST_FAIL;
 	}
 




More information about the asterisk-commits mailing list