[openssl-commits] [openssl] master update
Rich Salz
rsalz at openssl.org
Fri Apr 10 15:40:33 UTC 2015
The branch master has been updated
via e71cecd551f1d8beca20681184d94f7000a5e333 (commit)
from 4118dfdcc8aa2c2cf496bb33cbc1b9581c33af2f (commit)
- Log -----------------------------------------------------------------
commit e71cecd551f1d8beca20681184d94f7000a5e333
Author: Rich Salz <rsalz at openssl.org>
Date: Fri Apr 10 11:37:53 2015 -0400
fix to "test script cleanup"
Fix commit 30f54ad295d58ff8c6d28c1fd612d23c2c343d19 which used
non-portable syntax for checking exit status.
Reviewed-by: Matt Caswell <matt at openssl.org>
-----------------------------------------------------------------------
Summary of changes:
test/testca | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/test/testca b/test/testca
index 8961cf8..d4d0159 100644
--- a/test/testca
+++ b/test/testca
@@ -17,11 +17,11 @@ export OPENSSL
/bin/rm -fr demoCA
-# Could do '...CA.pl -newca || exot 1 << EOF
+# Could do '...CA.pl -newca <<EOF || exit 1
# EOF' but that seems too obscure to me. :)
OPENSSL_CONFIG=/dev/null $PERL ../apps/CA.pl -newca <<EOF
EOF
-[ $? == 0 ] || exit 1
+[ $? -eq 0 ] || exit 1
SSLEAY_CONFIG="-config Uss.cnf"
export SSLEAY_CONFIG
@@ -35,7 +35,7 @@ $PERL ../apps/CA.pl -sign <<EOF
y
y
EOF
-[ $? == 0 ] || exit 1
+[ $? -eq 0 ] || exit 1
$PERL ../apps/CA.pl -verify newcert.pem || exit 1
More information about the openssl-commits
mailing list