mirror of
https://github.com/ceph/ceph
synced 2025-02-22 18:47:18 +00:00
qa: fix loopall, runallonce scripts
Run anything executable. Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
d5bba79ebb
commit
9d1e897107
@ -15,7 +15,7 @@ cd $testdir
|
||||
|
||||
while true
|
||||
do
|
||||
for test in `cd $basedir/workunits && ls | grep .sh | $basedir/../src/script/permute`
|
||||
for test in `cd $basedir/workunits && find . -executable -type f | $basedir/../src/script/permute`
|
||||
do
|
||||
echo "------ running test $test ------"
|
||||
pwd
|
||||
|
@ -13,7 +13,7 @@ PATH="$basedir/src:$PATH"
|
||||
[ -z "$testdir" ] || [ ! -d "$testdir" ] && echo "specify test dir" && exit 1
|
||||
cd $testdir
|
||||
|
||||
for test in `cd $basedir/workunits && ls | grep .sh | $basedir/../src/script/permute`
|
||||
for test in `cd $basedir/workunits && find . -executable -type f | $basedir/../src/script/permute`
|
||||
do
|
||||
echo "------ running test $test ------"
|
||||
pwd
|
||||
|
Loading…
Reference in New Issue
Block a user