[asterisk-commits] dvossel: trunk r250237 - /trunk/main/test.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 2 18:04:31 CST 2010


Author: dvossel
Date: Tue Mar  2 18:04:28 2010
New Revision: 250237

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=250237
Log:
fixes assumption that test failed if it did not pass when generating results

Modified:
    trunk/main/test.c

Modified: trunk/main/test.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/test.c?view=diff&rev=250237&r1=250236&r2=250237
==============================================================================
--- trunk/main/test.c (original)
+++ trunk/main/test.c Tue Mar  2 18:04:28 2010
@@ -281,7 +281,7 @@
 			last_results.last_time += test->time;
 			if (test->state == AST_TEST_PASS) {
 				last_results.last_passed++;
-			} else {
+			} else if (test->state == AST_TEST_FAIL) {
 				last_results.last_failed++;
 			}
 




More information about the asterisk-commits mailing list