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