Allow test.sh to take arg: name of test to start with

Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
This commit is contained in:
cl349@firebug.cl.cam.ac.uk committed 2005-07-26 15:21:32 +00:00
1 parent c86032d118
commit b4ff7e6103
1 file changed
+3
+3
View File
@@ -33,7 +33,10 @@ run_test()
fi
}
MATCH=${1:-"*"}
for f in testsuite/[0-9]*.sh; do
case `basename $f` in $MATCH) RUN=1;; esac
[ -n "$RUN" ] || continue
if run_test $f; then
echo Test $f passed...
else
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.