From: Jan Pospíšil Date: Tue, 2 Sep 2008 14:57:31 +0000 (+0000) Subject: minor changes X-Git-Tag: myproxy-config-R_2_0_2_1~52 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=5b2d8a5654e86ba07d37348c5e494552530b6720;p=jra1mw.git minor changes --- diff --git a/org.glite.testsuites.ctb/LB/test-common.sh b/org.glite.testsuites.ctb/LB/test-common.sh index 208a597..b8ed3cc 100644 --- a/org.glite.testsuites.ctb/LB/test-common.sh +++ b/org.glite.testsuites.ctb/LB/test-common.sh @@ -71,8 +71,14 @@ function test_skipped() { printf "${test_skipped}${lf}"; } function test_dead() { printf "${test_dead}${lf}"; } function test_unused() { printf "${test_unused}${lf}"; } function test_unknown { printf "${test_unknown}${lf}"; } -function test_start() { syslog "${test_start}"; reset_error } -function test_end() { syslog "${test_end}"; reset_error } +function test_start() { + syslog "${test_start}"; + reset_error +} +function test_end() { + syslog "${test_end}"; + reset_error +} # set output to ASCII (without colors) function setOutputASCII() @@ -167,7 +173,7 @@ set_test function reset_error() { - rm $testerrfile + rm -f $testerrfile } function set_error() @@ -221,3 +227,4 @@ if test -t 1 -a "$TERM" != "raw" -a "$TERM" != "dumb" && stty size <&1 > /dev/nu else setOutputASCII fi +