Return error code is any tests fail.

Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
Dr. Stephen Henson 2015-02-10 15:53:56 +00:00
parent 774ccae63c
commit 6906a7c1a3

View file

@ -374,6 +374,8 @@ int main(int argc, char **argv)
fprintf(stderr, "%d tests completed with %d errors\n",
t.ntests, t.errors);
fclose(in);
if (t.errors)
return 1;
return 0;
}