mirror of
https://github.com/ceph/ceph
synced 2025-03-04 23:40:07 +00:00
qa: Copy the output of each test to a log file
This commit is contained in:
parent
796d3ba3c5
commit
580dd13514
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user