summaryrefslogtreecommitdiff
path: root/tests/test_utils.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2010-09-30 20:40:08 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2010-09-30 20:40:08 +0000
commit6d0e38332157bad2ad3c3667cd80c214e47fb83a (patch)
treefa98c6c19dbadcf2986ba059b1d090a07d8b1044 /tests/test_utils.c
parent72fbcfd95d3f10f3ce78282760856e7b3ce7f48d (diff)
Merged revisions 289543,289581 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r289543 | tilghman | 2010-09-30 12:50:52 -0500 (Thu, 30 Sep 2010) | 2 lines More Solaris compatibility fixes ........ r289581 | tilghman | 2010-09-30 15:23:10 -0500 (Thu, 30 Sep 2010) | 2 lines Solaris fixes. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@289588 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'tests/test_utils.c')
-rw-r--r--tests/test_utils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_utils.c b/tests/test_utils.c
index ceeb57c3e..b7a368a7d 100644
--- a/tests/test_utils.c
+++ b/tests/test_utils.c
@@ -325,15 +325,18 @@ AST_TEST_DEFINE(agi_loaded_test)
#endif
if (ast_agi_register(ast_module_info->self, &noop_command) == AST_OPTIONAL_API_UNAVAILABLE) {
+ ast_test_status_update(test, "Unable to register testnoop command, because res_agi is not loaded.\n");
return AST_TEST_FAIL;
}
#ifndef HAVE_NULLSAFE_PRINTF
/* Test for condition without actually crashing Asterisk */
if (noop_command.usage == NULL) {
+ ast_test_status_update(test, "AGI testnoop usage was not updated properly.\n");
res = AST_TEST_FAIL;
}
if (noop_command.syntax == NULL) {
+ ast_test_status_update(test, "AGI testnoop syntax was not updated properly.\n");
res = AST_TEST_FAIL;
}
#endif