Skip to content

Commit d208db1

Browse files
committed
test: Fix testsuite.sh indentation, clean test/logs/ before each run
1 parent 77e5726 commit d208db1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

test/testsuite.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ fi
3434

3535
if [ ! -d logs ]; then
3636
mkdir logs
37+
rm logs/*
3738
fi
3839

3940
if [ $CODE_COVERAGE ]; then
@@ -53,11 +54,11 @@ fi
5354

5455
echo -n "Creating docker containers..."
5556
if [ ! -z ${DEBUG+x} ]; then
56-
httpd_create || exit 2
57-
tomcat_create || exit 3
57+
httpd_create || exit 2
58+
tomcat_create || exit 3
5859
else
59-
httpd_create > /dev/null 2>&1 || exit 2
60-
tomcat_create > /dev/null 2>&1 || exit 3
60+
httpd_create > /dev/null 2>&1 || exit 2
61+
tomcat_create > /dev/null 2>&1 || exit 3
6162
fi
6263
echo " Done"
6364

0 commit comments

Comments
 (0)