mirror of
https://github.com/openssl/openssl.git
synced 2024-12-17 22:13:45 +08:00
fix to "test script cleanup"
Fix commit 30f54ad295
which used
non-portable syntax for checking exit status.
Reviewed-by: Matt Caswell <matt@openssl.org>
This commit is contained in:
parent
4118dfdcc8
commit
e71cecd551
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user