summaryrefslogtreecommitdiff
path: root/qa/runallonce.sh
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-03-16 15:48:35 -0700
committerSage Weil <sage@newdream.net>2010-03-16 15:51:04 -0700
commit3ebbec2708776d30b8c94ea8afceeda2fc917798 (patch)
tree843a435a885deb320ed85745b906d8173421edaf /qa/runallonce.sh
parenta431c527dc92cd4ada35957692f6a9f23a840b1d (diff)
downloadceph-3ebbec2708776d30b8c94ea8afceeda2fc917798.tar.gz
qa: runallonce.sh each workunit in a clean directory
Diffstat (limited to 'qa/runallonce.sh')
-rwxr-xr-xqa/runallonce.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/qa/runallonce.sh b/qa/runallonce.sh
index 01cd8d972d6..ea35f69e6bc 100755
--- a/qa/runallonce.sh
+++ b/qa/runallonce.sh
@@ -15,6 +15,7 @@ for test in `cd $basedir/workunits && ls | grep .sh`
do
echo "------ running test $test ------"
pwd
+ [ -d $test ] && rm -r $test
mkdir -p $test
mkdir -p `dirname $logdir/$test.log`
test -e $logdir/$test.log && rm $logdir/$test.log