From ce67bb5ac850f188e1325d59530d2d91dfdcea68 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 13 May 2020 01:28:09 -0500 Subject: Teach scripts/test.sh to skip TEST_HOST commands that aren't installed. --- scripts/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/test.sh b/scripts/test.sh index bc00058f..ede105ea 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -40,7 +40,7 @@ do_test() [ ! -e "$C" ] && echo "$CMDNAME disabled" && return else C="$(which $CMDNAME 2>/dev/null)" - [ -z "$C" ] && "C=$CMDNAME" + [ -z "$C" ] && printf '%s\n' "$SHOWSKIP: no $CMDNAME" && return fi C="$(dirname $(realpath "$C"))/$CMDNAME" -- cgit v1.2.3