From: Martin Pool Date: Thu, 30 Aug 2001 07:10:20 +0000 (+0000) Subject: Run all scripts in the testsuite/ directory, not just named ones. I'd X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/882582b3075e8dea1e0511a2448def52c20ee920 Run all scripts in the testsuite/ directory, not just named ones. I'd like to make this script not rsync-specific if possible. --- 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"