diff options
-rwxr-xr-x | bin/vest | 4 | ||||
-rwxr-xr-x | bin/vex | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -1,2 +1,6 @@ #!/bin/sh +if [ "$#" -eq 0 ] ; then + printf >&2 'vest: Need test(1) arguments\n' + exit 2 +fi vex test "$@" @@ -1,5 +1,9 @@ #!/bin/sh # Run a command and print a string to stdout showing pass/fail +if [ "$#" -eq 0 ] ; then + printf >&2 'vex: Need a command\n' + exit 2 +fi "$@" ex=$? case $ex in |