From ef46bb70820717036c3d078b3e659afade713f24 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 8 Apr 2018 18:07:30 -0500 Subject: Fix error message: update $NAME before complaining about test with wrong # args. --- scripts/runtest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/runtest.sh b/scripts/runtest.sh index e07c6a2e..235b8839 100644 --- a/scripts/runtest.sh +++ b/scripts/runtest.sh @@ -79,9 +79,9 @@ wrong_args() testing() { + NAME="$CMDNAME $1" wrong_args "$@" - NAME="$CMDNAME $1" [ -z "$1" ] && NAME=$2 [ -n "$DEBUG" ] && set -x -- cgit v1.2.3