Teach scripts/test.sh to skip TEST_HOST commands that aren't installed.
This commit is contained in:
parent
8de3613e43
commit
ce67bb5ac8
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user