diff options
author | Bryan Drewery <bryan@shatow.net> | 2022-09-16 02:49:39 +0300 |
---|---|---|
committer | Bryan Drewery <bryan@shatow.net> | 2022-09-16 06:44:58 +0300 |
commit | 6db8bf024f3815120679fbcac1c6014e4c11b19f (patch) | |
tree | a26eac94699200cbe59f0be43e35cdf0513c5321 | |
parent | 41f9cc73c34f96f31da5fc36379c407b8daad06b (diff) |
runtest: Prefer expected PATHS for efficiency
-rw-r--r-- | test/runtest.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/runtest.sh b/test/runtest.sh index 35d73fe7..b96ce257 100644 --- a/test/runtest.sh +++ b/test/runtest.sh @@ -5,6 +5,8 @@ TEST=$(realpath "$1") : ${am_check:=0} : ${am_installcheck:=0} +PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:${PATH}" + if [ "${am_check}" -eq 1 ] && [ "${am_installcheck}" -eq 0 ]; then LIBEXECPREFIX="${abs_top_builddir}" |