Relax existence check of ${LOCALBASE}/bin/kyua

After the base kyua import the testsuite can utilize the in-base kyua
just fine.

Submitted by:	Dries Michiels
Differential Revision:	https://reviews.freebsd.org/D24230
This commit is contained in:
Brooks Davis 2020-03-30 20:04:55 +00:00
parent 28d832f993
commit c42a67671b

View File

@ -1988,7 +1988,7 @@ sign-packages: _pkgbootstrap .PHONY
# Run test suite on installed world.
#
checkworld: .PHONY
@if [ ! -x "${LOCALBASE}/bin/kyua" ]; then \
@if [ ! -x "${LOCALBASE}/bin/kyua" ] && [ ! -x "/usr/bin/kyua" ]; then \
echo "You need kyua (devel/kyua) to run the test suite." | /usr/bin/fmt; \
exit 1; \
fi