diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2015-02-10 15:53:56 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2015-02-13 13:28:50 +0000 |
commit | 6906a7c1a34d753b783cb38083bf95f417fef684 (patch) | |
tree | 1dabdcc79ec12cd81e973411e059078856b202c6 /crypto | |
parent | 774ccae63c3a41a3f0762cbc818271d3ef9f369f (diff) | |
download | openssl-6906a7c1a34d753b783cb38083bf95f417fef684.zip openssl-6906a7c1a34d753b783cb38083bf95f417fef684.tar.gz openssl-6906a7c1a34d753b783cb38083bf95f417fef684.tar.bz2 |
Return error code is any tests fail.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/evp/evp_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/evp/evp_test.c b/crypto/evp/evp_test.c index 686ca7c..83a9372 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; } |