From 74464d3ca4afcba6da01ae623a90502c17b4e806 Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Sat, 18 Feb 2017 21:47:32 +0000 Subject: [PATCH] Include ${LOCALBASE}/bin in $PATH when running "make checkworld" Some of the tests in devel/atf // devel/kyua rely on the tools being in $PATH, which means that the tests fail when run via "make checkworld" because $PATH is restricted to exclude directory elements like "${LOCALBASE}/bin". MFC after: 1 week Sponsored by: Dell EMC Isilon --- Makefile.inc1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index 35ccdd82ea7d..5a7738bb901b 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1503,7 +1503,7 @@ checkworld: .PHONY echo "You need kyua (devel/kyua) to run the test suite." | /usr/bin/fmt; \ exit 1; \ fi - ${_+_}${LOCALBASE}/bin/kyua test -k ${TESTSBASE}/Kyuafile + ${_+_}PATH="$$PATH:${LOCALBASE}/bin" kyua test -k ${TESTSBASE}/Kyuafile # #