xref: /freebsd/usr.sbin/makefs/tests/Makefile (revision 964b0ece795a4e2c811753873bf6883ffb160af8)
1a3b6b3acSMark Johnston.include <src.opts.mk>
2a3b6b3acSMark Johnston
37bdfc3b7SEnji CooperATF_TESTS_SH+=	makefs_cd9660_tests
409a2fce0SMark JohnstonTEST_METADATA.makefs_cd9660_tests+=	required_files="/sbin/mount_cd9660"
57bdfc3b7SEnji CooperATF_TESTS_SH+=	makefs_ffs_tests
6*964b0eceSBojan NovkovićATF_TESTS_SH+=	makefs_msdos_tests
7*964b0eceSBojan NovkovićTEST_METADATA.makefs_msdos_tests+=	required_files="/sbin/mount_msdosfs"
8a3b6b3acSMark Johnston.if ${MK_ZFS} != "no"
9240afd8cSMark JohnstonATF_TESTS_SH+=	makefs_zfs_tests
1009a2fce0SMark Johnston# ZFS pools created by makefs always have the same GUID, so OpenZFS
1109a2fce0SMark Johnston# refuses to import more than one at a time.  Thus the ZFS tests cannot
1209a2fce0SMark Johnston# be run in parallel for now.
1309a2fce0SMark JohnstonTEST_METADATA.makefs_zfs_tests+=	is_exclusive="true"
14a3b6b3acSMark Johnston.endif
157bdfc3b7SEnji Cooper
167bdfc3b7SEnji CooperBINDIR=		${TESTSDIR}
177bdfc3b7SEnji Cooper
18430f7286SEnji Cooper# XXX: PACKAGE support for SCRIPTS
197bdfc3b7SEnji CooperSCRIPTS+=	makefs_tests_common.sh
207bdfc3b7SEnji CooperSCRIPTSNAME_makefs_tests_common.sh=	makefs_tests_common.sh
217bdfc3b7SEnji Cooper
227bdfc3b7SEnji Cooper.for t in ${ATF_TESTS_SH}
237bdfc3b7SEnji CooperTEST_METADATA.$t+=	required_user="root"
247bdfc3b7SEnji Cooper.endfor
257bdfc3b7SEnji Cooper
267bdfc3b7SEnji Cooper.include <bsd.test.mk>
27