From 882582b3075e8dea1e0511a2448def52c20ee920 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Thu, 30 Aug 2001 07:10:20 +0000 Subject: [PATCH] Run all scripts in the testsuite/ directory, not just named ones. I'd like to make this script not rsync-specific if possible. --- runtests.sh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/runtests.sh b/runtests.sh index f21371be..5c672dd2 100755 --- a/runtests.sh +++ b/runtests.sh @@ -144,15 +144,9 @@ suitedir="$srcdir/testsuite" export scratchdir suitedir -for testbase in rsync-hello hands ssh-basic +for testscript in $suitedir/*.test do - testscript="$suitedir/$testbase.test" - if test \! -f "$testscript" - then - echo "$testscript does not exist" >&2 - missing=`expr $missing + 1` - continue - fi + testbase=`echo $testscript | sed 's!.*/!!'` echo "----- $testbase starting" -- 2.34.1