]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Improve Linux scripts: remove warning
authorspo <sergey.pokhodenko@opencascade.com>
Tue, 1 Sep 2015 13:57:47 +0000 (16:57 +0300)
committerspo <sergey.pokhodenko@opencascade.com>
Tue, 1 Sep 2015 13:58:03 +0000 (16:58 +0300)
test_squish.sh

index 418a605aec77251e27618d3106b552376ba3bcee..b353af1b75e8cd845216183827ecf64ff0b02344 100755 (executable)
@@ -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