From: Dr. Stephen Henson Date: Tue, 10 Feb 2015 15:53:56 +0000 (+0000) Subject: Return error code is any tests fail. X-Git-Tag: OpenSSL_1_1_0-pre1~1642 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6906a7c1a34d753b783cb38083bf95f417fef684;p=oweals%2Fopenssl.git Return error code is any tests fail. Reviewed-by: Richard Levitte --- diff --git a/crypto/evp/evp_test.c b/crypto/evp/evp_test.c index 686ca7c559..83a9372bf5 100644 --- a/crypto/evp/evp_test.c +++ b/crypto/evp/evp_test.c @@ -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; }