From 298f36abf689bd40f5937f0aa93e5188f294dc6e Mon Sep 17 00:00:00 2001 From: Karanbir Singh Date: Jul 27 2012 19:47:26 +0000 Subject: only consider $1 if its there --- diff --git a/runtests.sh b/runtests.sh index afe7a04..1acf223 100755 --- a/runtests.sh +++ b/runtests.sh @@ -19,7 +19,7 @@ set -e set -u # process our test scripts -if [ $1 ]; then +if [ $# -gt 0 ]; then t_Process <(/usr/bin/find ./tests/0_*/ -type f|sort -t'/' ) t_Process <(/usr/bin/find ./tests/$1/ -type f|sort -t'/' ) else