Log the variable name being tested.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@243158 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant 2010-01-26 15:46:53 +00:00
parent 3e0463107e
commit 2ce1ffc664
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ static enum ast_test_result_state test_chan_variable(void *status, struct ast_st
ast_test_status_update(status, "Testing '%s' . . . . . %s\n", ast_str_buffer(var), okay ? "passed" : "FAILED");
if (strcmp(values[i], ast_str_buffer(str)) != 0 || strcmp(values[i], workspace) != 0) {
ast_test_status_update(status, "%s != %s != %s\n", values[i], ast_str_buffer(str), workspace);
ast_str_set(err, 0, "%s: '%s' != '%s' != '%s'\n",
ast_str_set(err, 0, "%s: Variable: '%s' ... '%s' != '%s' != '%s'\n", varname,
__PRETTY_FUNCTION__, values[i], ast_str_buffer(str), workspace);
okay = 0;
}