From: Richard Levitte Date: Thu, 27 Jan 2005 10:59:36 +0000 (+0000) Subject: Oops, == should really be = when used with test ([ and ]). X-Git-Tag: OpenSSL_0_9_7g~17^2~51 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=97a1630e81aae8ed1603a7012ed0144d2e9865e7;p=oweals%2Fopenssl.git Oops, == should really be = when used with test ([ and ]). I guess I use bash too much... Thanks to Peter Sylvester for pointing it out to me. --- diff --git a/test/testsslproxy b/test/testsslproxy index 40469f591e..70cf12342d 100644 --- a/test/testsslproxy +++ b/test/testsslproxy @@ -5,6 +5,6 @@ echo 'Some of them may turn out being invalid, which is fine.' for auth in A B C BC; do for cond in A B C 'A|B&!C'; do sh ./testssl $1 $2 $3 "-proxy_auth $auth -proxy_cond $cond" - if [ $? == 3 ]; then exit 1; fi + if [ $? = 3 ]; then exit 1; fi done done