xref: /freebsd/usr.sbin/makefs/tests/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1a3b6b3acSMark Johnston.include <src.opts.mk>
2a3b6b3acSMark Johnston
37bdfc3b7SEnji CooperATF_TESTS_SH+=	makefs_cd9660_tests
4*09a2fce0SMark JohnstonTEST_METADATA.makefs_cd9660_tests+=	required_files="/sbin/mount_cd9660"
57bdfc3b7SEnji CooperATF_TESTS_SH+=	makefs_ffs_tests
6a3b6b3acSMark Johnston.if ${MK_ZFS} != "no"
7240afd8cSMark JohnstonATF_TESTS_SH+=	makefs_zfs_tests
8*09a2fce0SMark Johnston# ZFS pools created by makefs always have the same GUID, so OpenZFS
9*09a2fce0SMark Johnston# refuses to import more than one at a time.  Thus the ZFS tests cannot
10*09a2fce0SMark Johnston# be run in parallel for now.
11*09a2fce0SMark JohnstonTEST_METADATA.makefs_zfs_tests+=	is_exclusive="true"
12a3b6b3acSMark Johnston.endif
137bdfc3b7SEnji Cooper
147bdfc3b7SEnji CooperBINDIR=		${TESTSDIR}
157bdfc3b7SEnji Cooper
16430f7286SEnji Cooper# XXX: PACKAGE support for SCRIPTS
177bdfc3b7SEnji CooperSCRIPTS+=	makefs_tests_common.sh
187bdfc3b7SEnji CooperSCRIPTSNAME_makefs_tests_common.sh=	makefs_tests_common.sh
197bdfc3b7SEnji Cooper
207bdfc3b7SEnji Cooper.for t in ${ATF_TESTS_SH}
217bdfc3b7SEnji CooperTEST_METADATA.$t+=	required_user="root"
227bdfc3b7SEnji Cooper.endfor
237bdfc3b7SEnji Cooper
247bdfc3b7SEnji Cooper.include <bsd.test.mk>
25