From 7660fc156f221df99c2611c2bcbddd07c81ce2fe Mon Sep 17 00:00:00 2001 From: Maxb <bittmanmax@gmail.com> Date: Thu, 29 Aug 2024 11:49:47 -0700 Subject: [PATCH] Fix shellcheck complaint in integration test script --- scripts/integration-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/integration-test.sh b/scripts/integration-test.sh index 62e4125..7ffdff4 100755 --- a/scripts/integration-test.sh +++ b/scripts/integration-test.sh @@ -82,7 +82,7 @@ docker compose -p "$mode" --env-file $env_file exec client ndt7-client -quiet | # Testing bridge control panel if [[ "$LIVE_TEST" == "0" ]]; then - if [[ `docker compose -p "$mode" logs | grep control-client | tail -n1 | cut -d "|" -f2 | xargs` == "parsing failure" ]] + if [[ $(docker compose -p "$mode" logs | grep control-client | tail -n1 | cut -d "|" -f2 | xargs) == "parsing failure" ]] then echo "failed to parse from control panel" | tee -a $logfile exit 1 -- GitLab