summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2020-07-15 03:50:00 +0000
committerBob Beck <beck@cvs.openbsd.org>2020-07-15 03:50:00 +0000
commite44da8ee2e5d22a824f5b95e13f8a49215a76305 (patch)
tree8e19811e657f66ccfe0ccd9d6e277f6e21a5a239 /regress/lib
parente5e6cbe586e985f846f866608109a6777cadf2f9 (diff)
The exit code from the perl matters here
Diffstat (limited to 'regress/lib')
-rwxr-xr-xregress/lib/libcrypto/x509/bettertls/check.perl4
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/lib/libcrypto/x509/bettertls/check.perl b/regress/lib/libcrypto/x509/bettertls/check.perl
index 591b9a40d27..cdf5bde808d 100755
--- a/regress/lib/libcrypto/x509/bettertls/check.perl
+++ b/regress/lib/libcrypto/x509/bettertls/check.perl
@@ -1,6 +1,6 @@
#!/usr/bin/perl
-# $OpenBSD: check.perl,v 1.1 2020/07/15 03:12:42 beck Exp $
+# $OpenBSD: check.perl,v 1.2 2020/07/15 03:49:59 beck Exp $
#
# Copyright (c) 2020 Bob Beck <beck@openbsd.org>
#
@@ -98,8 +98,10 @@ for ($id = 0; $id < $i; $id++) {
print "\n\nTested $i certificates\n";
if ($regressions == 0) {
print STDERR "SUCCESS - no new regressions ($known known failures)\n";
+ exit 0;
} else {
print STDERR "FAILED - $regressions new regressions ($known known failures)\n";
+ exit 1;
}