Don't crash and burn if there are no tests to run.

This commit is contained in:
David Given 2018-06-23 11:14:40 +02:00
parent 5fd8d772fd
commit fac0764621

View file

@ -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