From 7388b81e588e6a374345294e861b5462976acc32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de> Date: Wed, 2 Feb 2022 10:42:04 +0100 Subject: [PATCH] Minor format fixes for smoketest all runner --- theodolite-benchmarks/docker-test/smoketest-runner-all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theodolite-benchmarks/docker-test/smoketest-runner-all.sh b/theodolite-benchmarks/docker-test/smoketest-runner-all.sh index 7863bcad6..0129a485d 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]}' -- GitLab