diff --git a/integration_test.sh b/integration_test.sh index 1111c6b4a..0c40a56f5 100755 --- a/integration_test.sh +++ b/integration_test.sh @@ -46,8 +46,11 @@ for test in "${single_run_packages[@]}"; do done # Check the results and exit with an appropriate code -pass=1 +pass=0 for val in "${results[@]}"; do - (( pass=pass||val)) + if [ "$val" -ne 0 ]; then + pass=1 + break + fi done exit $pass \ No newline at end of file