From c13acc3fbb3af3a1063460218557111ae899112e Mon Sep 17 00:00:00 2001 From: Ain <41307858+nero@users.noreply.github.com> Date: Mon, 26 Mar 2018 07:46:02 +0000 Subject: [PATCH] Fix invalid comparison operator in tests --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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\""