qa: make logging more forgiving

This commit is contained in:
Sage Weil 2009-12-22 13:45:40 -08:00
parent e357203e84
commit 775d6825b2
1 changed files with 2 additions and 2 deletions

View File

@ -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