qa: fix loopall, runallonce scripts

Run anything executable.

Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
Sage Weil 2011-06-13 13:31:35 -07:00
parent d5bba79ebb
commit 9d1e897107
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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