ceph/qa/runallonce.sh

19 lines
276 B
Bash
Raw Normal View History

#!/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