From 2c1c02df92443b2c4dd724094dc7b22eb8336fb8 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 24 Apr 2018 17:47:47 +0200 Subject: [PATCH] test.sh: fix danger of word splitting (found by shellcheck) Shellcheck: SC2206: Quote to prevent word splitting, or split robustly with mapfile or read -a. Signed-off-by: Michael Adam --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 572064900d..04a8ec71e2 100755 --- a/test.sh +++ b/test.sh @@ -19,7 +19,7 @@ run_test() { sts=$? if [[ ${sts} -ne 0 ]]; then vecho "failed ${cmd} [${sts}]" - FAILURES+=(${cmd}) + FAILURES+=("${cmd}") if [[ "${exitfirst}" = "yes" ]]; then exit 1 fi