diff --git a/theodolite-benchmarks/docker-test/smoketest-runner-all.sh b/theodolite-benchmarks/docker-test/smoketest-runner-all.sh index 7863bcad6bb3fd52cd5d8e7ddeceec016d7127e0..0129a485d98a90d453b284408b755986f64208de 100755 --- a/theodolite-benchmarks/docker-test/smoketest-runner-all.sh +++ b/theodolite-benchmarks/docker-test/smoketest-runner-all.sh @@ -4,4 +4,4 @@ find . -name 'test.sh' -type f -exec dirname {} \; | sort | xargs -I %s sh -c "./smoketest-runner.sh %s 1>&2; echo $?" | sort | - awk '{count[$1!=0]++} END {print count[0] " tests successful, " count[1] " test failed."}; exit count[1]' + awk 'BEGIN {count[0]=0; count[1]=0} {count[$1!=0]++} END {print count[0] " tests successful, " count[1] " test failed."; exit count[1]}'