summaryrefslogtreecommitdiffstats
path: root/qa/runallonce.sh
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-12-22 22:45:40 +0100
committerSage Weil <sage@newdream.net>2009-12-23 17:52:18 +0100
commit775d6825b2c843eeeda7581094ee1a3553749fde (patch)
tree309a08294b1a7a19c5560a0f90cd752fc6a138ad /qa/runallonce.sh
parentmsgr: separate incoming queue from local_endpoint (diff)
downloadceph-775d6825b2c843eeeda7581094ee1a3553749fde.tar.xz
ceph-775d6825b2c843eeeda7581094ee1a3553749fde.zip
qa: make logging more forgiving
Diffstat (limited to 'qa/runallonce.sh')
-rwxr-xr-xqa/runallonce.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/runallonce.sh b/qa/runallonce.sh
index ebaa0b32c56..e4fcbb09b34 100755
--- a/qa/runallonce.sh
+++ b/qa/runallonce.sh
@@ -14,8 +14,8 @@ for test in `cd $basedir && find workunits/* | grep .sh`
do
echo "------ running test $test ------"
mkdir -p $test
- mkdir -p ${basedir}/logs/${test}.log
- rmdir ${basedir}/logs/${test}.log
+ mkdir -p ${basedir}/logs
+ rm ${basedir}/logs/${test}.log
pushd .
cd $test
${basedir}/${test} 2>&1 | tee ${basedir}/logs/${test}.log