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