freebsd-nq/tests/sys/acl/Makefile
Enji Cooper b3af24b4ff Integrate tools/regression/acltools into the FreeBSD test suite as tests/sys/acl
- Make the requirements more complete for the testcases
- Detect prerequisites so the tests won't fail (zfs.ko is loaded, zpool(1)
  is available, ACL support is enabled with UFS, etc).
- Work with temporary files/directories/mountpoints that work with atf/kyua
- Limit the testcases to work on temporary filesystems to reduce tainting the
  test host

MFC after: 2 weeks
Reviewed by: trasz (earlier version)
Differential Revision: https://reviews.freebsd.org/D3810
2015-10-17 08:39:37 +00:00

30 lines
494 B
Makefile

# $FreeBSD$
TESTSDIR= ${TESTSBASE}/sys/acl
BINDIR= ${TESTSDIR}
FILES+= tools-crossfs.test
FILES+= tools-nfs4.test
FILES+= tools-nfs4-psarc.test
FILES+= tools-nfs4-trivial.test
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
.for t in 01 03 04
TEST_METADATA.$t+= required_programs="/sbin/zpool"
.endfor
.include <bsd.test.mk>