diff --git a/unitests.sh b/unitests.sh index 6b150e0..0792efd 100644 --- a/unitests.sh +++ b/unitests.sh @@ -113,7 +113,13 @@ cd $(dirname $0) if [ "$file" = "-p" ] then PRINT=1 - continue + if [ $# -eq 1 ] + then + LIST_FILES="$DEFAULT_FILES" + break + else + continue + fi fi find_path if [ -e "$file" ]