ceph/qa/runallonce.sh
2009-11-17 09:13:47 -08:00

19 lines
275 B
Bash
Executable File

#!/bin/bash -x
set -e
basedir=`pwd`
testdir="${basedir}/testspace"
mkdir -p $testdir
for test in `cd $basedir && find workunits/* | grep .sh`
do
cd $testdir
echo "------ running test $test ------"
mkdir -p $test
pushd .
cd $test
${basedir}/${test}
popd
done