From 2be650203e7dfe491d77c6f281e5c4c39cdac331 Mon Sep 17 00:00:00 2001 From: lukken <lukken@astron.nl> Date: Thu, 9 Jun 2022 06:15:15 +0000 Subject: [PATCH] L2SS-804: Update array assignment for shellcheck --- sbin/run_integration_test.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sbin/run_integration_test.sh b/sbin/run_integration_test.sh index 6d73ee8bc..70e8aaff3 100755 --- a/sbin/run_integration_test.sh +++ b/sbin/run_integration_test.sh @@ -21,13 +21,13 @@ function usage { # integration module or even specific tests # integration_test module restarted_containers config_files specific_test function integration_test { - configs=($3) - restarts=($2) + IFS=" " read -r -a restarts <<< "${2}" + IFS=" " read -r -a configs <<< "${3}" for config in "${configs[@]}"; do bash "${LOFAR20_DIR}"/sbin/update_ConfigDb.sh "${config}" done if [ ! -z "${2+x}" ]; then - make restart ${restarts[*]} + make restart "${restarts[@]}" fi sleep 5 make integration "${1}" -- GitLab