Fix invalid comparison operator in tests
This commit is contained in:
parent
74dc3723c4
commit
c13acc3fbb
1 changed files with 1 additions and 1 deletions
2
test.sh
2
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\""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue