]> diplodocus.org Git - nmh/commitdiff
Refined error message from check() shell function of test suite.
authorDavid Levine <levinedl@acm.org>
Sun, 28 Apr 2013 16:13:41 +0000 (11:13 -0500)
committerDavid Levine <levinedl@acm.org>
Sun, 28 Apr 2013 16:13:41 +0000 (11:13 -0500)
test/common.sh.in

index 2b224dc..8357872 100644 (file)
@@ -143,7 +143,7 @@ check() {
         case $1 in
             'keep first')   keepfirst=1 ;;
             'ignore space') ignorespace=1 ;;
-            *) echo "$0: invalid command $1" ;;
+            *) echo "$0: invalid check() argument \"$1\" in test suite" ;;
         esac
         shift
     done