2016-12-17 19:39:01 +08:00

20 lines
347 B
Bash
Executable File

#!/bin/sh
# must be run from tests dir
if test ! -f ubertest.php; then exit 0; fi
# clean subdirs
for i in test_*
do
if test ! -f "$i/test.xml"; then continue; fi
rm -f "$i/report.txt"
rm -fr "$i/Conf/"
done
# clean files
rm -f data/*.sp*
rm -f data/*.mvp
rm -f data/*.meta data/*.lock data/*.kill data/*.ram
rm -f data/binlog.*
rm -f *.log