34b696e412
Some of these tests import a ZFS pool with a hard-coded name, so they cannot run in parallel. MFC after: 1 week
42 lines
811 B
Makefile
42 lines
811 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
|
|
|
|
ATF_TESTS_C+= acl-api-test
|
|
|
|
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}
|
|
# Tests hard-code a ZFS pool name of "acltools" and so cannot run in parallel.
|
|
TEST_METADATA.$t+= required_user="root" \
|
|
is_exclusive=true
|
|
.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>
|