summaryrefslogtreecommitdiff
path: root/tests/sys/acl/Makefile
blob: 0080e8dd5b5aee587245351dac525098dc88343d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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>