From: spo Date: Tue, 1 Sep 2015 13:57:47 +0000 (+0300) Subject: Improve Linux scripts: remove warning X-Git-Tag: V_1.4.0_beta4~165 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=71920eb5ecd0d8258dea63e84995579b64cbb04a;p=modules%2Fshaper.git Improve Linux scripts: remove warning --- 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