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