aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/test.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/test.sh b/scripts/test.sh
index 490750cc..f7ad4a1e 100755
--- a/scripts/test.sh
+++ b/scripts/test.sh
@@ -129,7 +129,9 @@ testcmd()
{
wrong_args "$@"
- testing "$1" "$C $2" "$3" "$4" "$5"
+ X="$1"
+ [ -z "$X" ] && X="$CMDNAME $2"
+ testing "$X" "$C $2" "$3" "$4" "$5"
}
# Recursively grab an executable and all the libraries needed to run it.