Fix invalid comparison operator in tests

This commit is contained in:
Nero 2018-03-26 07:46:02 +00:00
parent 74dc3723c4
commit c13acc3fbb
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ do_test() {
is=$($bin "$name")
is="$is:$?"
if [ "$is" == "$should" ]; then
if [ "$is" = "$should" ]; then
echo "Test $1 success"
else
echo "Test $1 fail: \"${bin##*/} $name\" returned \"$is\" instead of \"$should\""