diff --git a/first/testsummary.sh b/first/testsummary.sh index 2aca1d225..20cdc66ae 100755 --- a/first/testsummary.sh +++ b/first/testsummary.sh @@ -1,6 +1,11 @@ #!/bin/sh echo "" +if [ "$1" = "" ]; then + echo "No tests." + exit 0 +fi + succeeding="$(find "$@" -size 0)" notsucceeding="$(find "$@" ! -size 0)" if [ "$notsucceeding" != "" ]; then