From: Andy Polyakov Date: Tue, 1 Aug 2006 16:12:10 +0000 (+0000) Subject: Real Bourne shell doesn't interpret ==, but =. X-Git-Tag: OpenSSL_0_9_8k^2~1176 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0209d1605d743be2b4b30312cb5b068501faddaf;p=oweals%2Fopenssl.git Real Bourne shell doesn't interpret ==, but =. --- diff --git a/test/testtsa b/test/testtsa index 626a7022bf..b7113949f2 100644 --- a/test/testtsa +++ b/test/testtsa @@ -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 }