diff --git a/test.sh b/test.sh index 16f2966..de36748 100755 --- a/test.sh +++ b/test.sh @@ -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\""