From 71920eb5ecd0d8258dea63e84995579b64cbb04a Mon Sep 17 00:00:00 2001 From: spo Date: Tue, 1 Sep 2015 16:57:47 +0300 Subject: [PATCH] Improve Linux scripts: remove warning --- test_squish.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_squish.sh b/test_squish.sh index 418a605ae..b353af1b7 100755 --- a/test_squish.sh +++ b/test_squish.sh @@ -19,7 +19,7 @@ for aut in linux_run.sh salome_run.sh; do done squishserver --config setAUTTimeout 120 squishserver --verbose --port=${SQUISHSERVER_PORT} --stop -squishserver --verbose --port=${SQUISHSERVER_PORT} 2>server.err & +squishserver --verbose --port=${SQUISHSERVER_PORT} 1>server.log 2>server.err & squishrunner --port=${SQUISHSERVER_PORT} --config setCursorAnimation off @@ -30,7 +30,7 @@ squishrunner_run() { local cases="$2" echo "Running suite ${suite}" - if [ ${cases} != "" ]; then echo "Cases ${cases}"; fi + if [ "${cases}" != "" ]; then echo "Cases ${cases}"; fi set +e squishrunner --port=${SQUISHSERVER_PORT} --testsuite ${suite} ${cases} --reportgen stdout --exitCodeOnFail 1 -- 2.39.2