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:
parent
bf746f0f46
commit
97a1630e81
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue