xref: /freebsd/usr.sbin/makefs/tests/Makefile (revision 7937bfbc0ca53fe7cdd0d54414f9296e273a518e)
1.include <src.opts.mk>
2
3ATF_TESTS_SH+=	makefs_cd9660_tests
4TEST_METADATA.makefs_cd9660_tests+=	required_files="/sbin/mount_cd9660"
5ATF_TESTS_SH+=	makefs_ffs_tests
6.if ${MK_ZFS} != "no"
7ATF_TESTS_SH+=	makefs_zfs_tests
8# ZFS pools created by makefs always have the same GUID, so OpenZFS
9# refuses to import more than one at a time.  Thus the ZFS tests cannot
10# be run in parallel for now.
11TEST_METADATA.makefs_zfs_tests+=	is_exclusive="true"
12.endif
13
14BINDIR=		${TESTSDIR}
15
16# XXX: PACKAGE support for SCRIPTS
17SCRIPTS+=	makefs_tests_common.sh
18SCRIPTSNAME_makefs_tests_common.sh=	makefs_tests_common.sh
19
20.for t in ${ATF_TESTS_SH}
21TEST_METADATA.$t+=	required_user="root"
22.endfor
23
24.include <bsd.test.mk>
25