Skip to content
Snippets Groups Projects
Commit 7660fc15 authored by Maxb's avatar Maxb
Browse files

Fix shellcheck complaint in integration test script

parent 81ef4ce0
Branches kcp
No related tags found
1 merge request!62Add reconnect integration test
Pipeline #238023 passed with warnings
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment