From: Greg Farnum Date: Tue, 15 Dec 2009 21:23:23 +0000 (-0800) Subject: qa: Copy the output of each test to a log file X-Git-Tag: v0.19~242 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=580dd135149cae2f3102a1281e63f7f6cd85c1bc;p=ceph.git qa: Copy the output of each test to a log file --- diff --git a/qa/runallonce.sh b/qa/runallonce.sh index dcf745f2c244..ebaa0b32c56b 100755 --- a/qa/runallonce.sh +++ b/qa/runallonce.sh @@ -14,8 +14,10 @@ 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 pushd . cd $test - ${basedir}/${test} + ${basedir}/${test} 2>&1 | tee ${basedir}/logs/${test}.log popd done