From 9d1e897107af512de060cc5071c5344a76daf085 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 13 Jun 2011 13:31:35 -0700 Subject: [PATCH] qa: fix loopall, runallonce scripts Run anything executable. Signed-off-by: Sage Weil --- qa/loopall.sh | 2 +- qa/runallonce.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qa/loopall.sh b/qa/loopall.sh index d61f6bb4347ac..edc14a02142b5 100755 --- a/qa/loopall.sh +++ b/qa/loopall.sh @@ -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 diff --git a/qa/runallonce.sh b/qa/runallonce.sh index 1786ef32b5665..573046959a98c 100755 --- a/qa/runallonce.sh +++ b/qa/runallonce.sh @@ -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 -- 2.39.5