HardenedBSD/tests/sys/acl/Makefile
Alan Somers 1fe8c3077f Skip sys/acl tests on systems lacking perl
tests/sys/acl/Makefile
	add perl to the required_programs for all tests in this directory

Reviewed by:	ngie
Approved by:	re (gjb)
MFC after:	4 weeks
Sponsored by:	Spectra Logic Corp
Differential Revision:	https://reviews.freebsd.org/D6870
2016-06-20 23:17:00 +00:00

38 lines
681 B
Makefile

# $FreeBSD$
PACKAGE= tests
TESTSDIR= ${TESTSBASE}/sys/acl
BINDIR= ${TESTSDIR}
${PACKAGE}FILES+= tools-crossfs.test
${PACKAGE}FILES+= tools-nfs4.test
${PACKAGE}FILES+= tools-nfs4-psarc.test
${PACKAGE}FILES+= tools-nfs4-trivial.test
${PACKAGE}FILES+= tools-posix.test
SCRIPTS+= run
TAP_TESTS_SH+= 00
TAP_TESTS_SH+= 01
TAP_TESTS_SH+= 02
TAP_TESTS_SH+= 03
TAP_TESTS_SH+= 04
.for t in ${TAP_TESTS_SH}
TEST_METADATA.$t+= required_user="root"
.endfor
_ACL_PROGS= getfacl setfacl
.for t in 01 03 04
TEST_METADATA.$t+= required_programs="perl zpool ${_ACL_PROGS}"
.endfor
.for t in 00 02
TEST_METADATA.$t+= required_programs="perl ${_ACL_PROGS}"
.endfor
.include <bsd.test.mk>