Skip to content

Commit 987f32c

Browse files
committed
Properly add integers in bash.
1 parent d7eb789 commit 987f32c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎bin/test‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ do
1616
# $(dirname $0)/go test -v --race $package
1717
$(dirname $0)/go test -i $package
1818
$(dirname $0)/go test -v $package
19-
result+=$?
19+
let "result+=$?"
2020
done
2121

2222
echo -e "\n Running build script to confirm main compiles"
2323
$(dirname $0)/build
24-
result+=$?
24+
let "result+=$?"
2525

2626
if [ $result -eq 0 ]; then
2727
echo -e "\nSUITE SUCCESS"

0 commit comments

Comments
 (0)