Real Bourne shell doesn't interpret ==, but =.
authorAndy Polyakov <appro@openssl.org>
Tue, 1 Aug 2006 16:12:10 +0000 (16:12 +0000)
committerAndy Polyakov <appro@openssl.org>
Tue, 1 Aug 2006 16:12:10 +0000 (16:12 +0000)
test/testtsa

index 626a7022bfd9d42279cdde4615e4b6f4e3b64eda..b7113949f2736f798a6dcd7a1cf85d6336378b59 100644 (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
 }