Oops, == should really be = when used with test ([ and ]).

I guess I use bash too much...

Thanks to Peter Sylvester <Peter.Sylvester@edelweb.fr> for pointing it
out to me.
This commit is contained in:
Richard Levitte 2005-01-27 10:59:36 +00:00
parent bf746f0f46
commit 97a1630e81

View File

@ -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