# the tests will call "testsummary.sh", which will concatenate all test output
# files into a single systests.output.
+runall=0
+
while getopts "r" flag; do
case $flag in
r) runall=1 ;;
systest=$1
shift
-if [ "$runall" = "" ]; then
+if [ $runall -eq 0 ]; then
rm -f $systest/test.output
fi
SYSTEMTESTTOP=.
. $SYSTEMTESTTOP/conf.sh
+keepfile=0
+
while getopts "n" flag; do
case $flag in
n) keepfile=1 ;;
done
cat */test.output > systests.output 2> /dev/null
-if [ "$keepfile" = "" ]; then
+if [ $keepfile -eq 0 ]; then
rm -f */test.output
fi