diff --git a/.travis.yml b/.travis.yml index a47c98451..830d89bac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -125,7 +125,7 @@ script: sudo HOST_TMP_DIR=/tmp TEST_OPTS="VERBOSE='1'" make docker-test-coverage ;; linux-amd64-fmt-unit-go-tip-2-cpu) - GOARCH=amd64 PASSES='fmt unit' 'CPU=2' ./test -p=2 + GOARCH=amd64 PASSES='fmt unit' CPU='2' RACE='false' ./test -p=2 ;; linux-386-unit-1-cpu) docker run --rm \ diff --git a/scripts/test_lib.sh b/scripts/test_lib.sh index 6207c9c8e..51279c4ca 100644 --- a/scripts/test_lib.sh +++ b/scripts/test_lib.sh @@ -72,7 +72,7 @@ function run { log_callout "% ${repro}" "${@}" local error_code=$? - if [ ${error_code} != 0 ]; then + if [ ${error_code} -ne 0 ]; then log_error -e "FAIL: (code:${error_code}):\n % ${repro}" return ${error_code} fi