[svn-r22815] Issue 8164 - test_image.c printed an extra "FAILED" after it succeeded. A test function doesn't return 0 after it succeeds.

It goes down to the error handling branch and prints "FAILED".  The fix is adding "return 0;" in the end of the function.  

Tested on jam - simple change.
This commit is contained in:
Raymond Lu 2012-09-26 15:06:08 -05:00
parent 392b7d3249
commit 4f9adf902b

View File

@ -676,7 +676,7 @@ static int test_generate(void)
goto out;
/* Indicate success */
retval = 0;
return 0;
/* error zone, gracefully close */
out: