From 6906a7c1a34d753b783cb38083bf95f417fef684 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Tue, 10 Feb 2015 15:53:56 +0000 Subject: [PATCH] Return error code is any tests fail. Reviewed-by: Richard Levitte --- crypto/evp/evp_test.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.34.1