[asterisk-commits] russell: trunk r243158 - /trunk/tests/test_substitution.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jan 26 09:46:56 CST 2010


Author: russell
Date: Tue Jan 26 09:46:53 2010
New Revision: 243158

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=243158
Log:
Log the variable name being tested.

Modified:
    trunk/tests/test_substitution.c

Modified: trunk/tests/test_substitution.c
URL: http://svnview.digium.com/svn/asterisk/trunk/tests/test_substitution.c?view=diff&rev=243158&r1=243157&r2=243158
==============================================================================
--- trunk/tests/test_substitution.c (original)
+++ trunk/tests/test_substitution.c Tue Jan 26 09:46:53 2010
@@ -114,7 +114,7 @@
 		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;
 		}




More information about the asterisk-commits mailing list