From 5b2d8a5654e86ba07d37348c5e494552530b6720 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Posp=C3=AD=C5=A1il?= Date: Tue, 2 Sep 2008 14:57:31 +0000 Subject: [PATCH] minor changes --- org.glite.testsuites.ctb/LB/test-common.sh | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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 + -- 1.8.2.3