Real Bourne shell doesn't interpret ==, but =.

This commit is contained in:
Andy Polyakov 2006-08-01 16:12:10 +00:00
parent c8a0d0aaf9
commit 0209d1605d

View File

@ -154,7 +154,7 @@ verify_time_stamp_response_fail () {
../../util/shlib_wrap.sh ../../apps/openssl ts -verify -queryfile $1 -in $2 -CAfile demoCA/cacert.pem \
-untrusted tsa_cert1.pem
# Checks if the verification failed, as it should have.
test $? == 0 && error
test $? = 0 && error
echo Ok
}