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