diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-01-26 15:46:53 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-01-26 15:46:53 +0000 |
commit | 7f9286a9d201a270f3c6410d58dfda2757af1d2b (patch) | |
tree | 3fc1fae13702abd4dfc258641e10a09cb6d59b78 | |
parent | 3cd7f1195a04dbcf14ad78d6c772cd82ea605f1b (diff) |
Log the variable name being tested.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@243158 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | tests/test_substitution.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_substitution.c b/tests/test_substitution.c index 5dd4e0a24..6fdcfa1ac 100644 --- a/tests/test_substitution.c +++ b/tests/test_substitution.c @@ -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; } |