diff options
author | Rob Landley <rob@landley.net> | 2018-04-08 18:07:30 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2018-04-08 18:07:30 -0500 |
commit | ef46bb70820717036c3d078b3e659afade713f24 (patch) | |
tree | 3551eca19a97b7c6487a4ea21a0be48d53f15812 /scripts | |
parent | bd3a4a0308e1a5e0bb60d9b99aaf547d5d767a53 (diff) | |
download | toybox-ef46bb70820717036c3d078b3e659afade713f24.tar.gz |
Fix error message: update $NAME before complaining about test with wrong # args.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/runtest.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |