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 626a702..b711394 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
 }