Tests: Make run_all nag

This commit is contained in:
Wilhelm Schuermann 2015-06-06 16:17:22 +02:00
parent 9f78e87447
commit ffd1611b46

View file

@ -55,6 +55,17 @@ run_all_parallel() {
rm _run_all_parallel.txt rm _run_all_parallel.txt
} }
if [ ! -z "$1" ] && [ "$1" -ne "--verbose" ] && [ "$1" -ne "--fast" ];
then
echo "Did you mean --fast or --verbose?"
exit 1
fi
if [ "$#" -gt 1 ];
then
echo "Can only use arguments one at a time."
exit 1
fi
rc=0 rc=0
if [ x"$1" = x"--verbose" ]; if [ x"$1" = x"--verbose" ];