1# $FreeBSD$ 2 3PACKAGE= tests 4 5TESTSDIR= ${TESTSBASE}/sys/acl 6 7BINDIR= ${TESTSDIR} 8 9${PACKAGE}FILES+= tools-crossfs.test 10${PACKAGE}FILES+= tools-nfs4.test 11${PACKAGE}FILES+= tools-nfs4-psarc.test 12${PACKAGE}FILES+= tools-nfs4-trivial.test 13${PACKAGE}FILES+= tools-posix.test 14 15SCRIPTS+= run 16 17ATF_TESTS_C+= acl-api-test 18 19TAP_TESTS_SH+= 00 20TAP_TESTS_SH+= 01 21TAP_TESTS_SH+= 02 22TAP_TESTS_SH+= 03 23TAP_TESTS_SH+= 04 24 25.for t in ${TAP_TESTS_SH} 26# Tests hard-code a ZFS pool name of "acltools" and so cannot run in parallel. 27TEST_METADATA.$t+= required_user="root" \ 28 is_exclusive=true 29.endfor 30 31_ACL_PROGS= getfacl setfacl 32 33.for t in 01 03 04 34TEST_METADATA.$t+= required_programs="perl zpool ${_ACL_PROGS}" 35.endfor 36 37.for t in 00 02 38TEST_METADATA.$t+= required_programs="perl ${_ACL_PROGS}" 39.endfor 40 41.include <bsd.test.mk> 42