aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-09 20:01:01 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-09 20:01:01 +0000
commitaf4ffb86d02789de4dcda6ed9bf2543792517105 (patch)
treefc2ee50b8b3840d6477b2537f78192606b20a636 /channels
parent43dbac80653d505e7af5c6f48d28eb1db6a5dc41 (diff)
Get more information about the Bamboo test failures
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275312 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_iax2.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c
index e43758333..e6bce413d 100644
--- a/channels/chan_iax2.c
+++ b/channels/chan_iax2.c
@@ -13981,8 +13981,8 @@ AST_TEST_DEFINE(test_iax2_users_get)
return AST_TEST_FAIL;
}
- if (ast_data_retrieve_int(node, "user/amaflags") != 1010) {
- ast_test_status_update(test, "The amaflags field in our test user was not the expected value\n");
+ if (ast_data_retrieve_int(node, "user/amaflags/value") != 1010) {
+ ast_test_status_update(test, "The amaflags field in our test user was '%d' not the expected value '1010'\n", ast_data_retrieve_int(node, "user/amaflags/value"));
ao2_unlink(users, user);
user_unref(user);
ast_data_free(node);
@@ -13994,7 +13994,6 @@ AST_TEST_DEFINE(test_iax2_users_get)
ao2_unlink(users, user);
user_unref(user);
- ast_test_status_update(test, "If this message prints and a failure is still recorded, then something is really wrong with the test framework\n");
return AST_TEST_PASS;
}
#endif