From b742998a2671818ceb5295d1a3f2f2c062a39028 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 2 Dec 2018 16:53:03 -0600 Subject: Teach testcmd to say short name rather than full path. --- scripts/test.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts') 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. -- cgit v1.2.3