xref: /freebsd/usr.sbin/makefs/tests/Makefile (revision 09a2fce092a4f51fcdac4f432ee960e2e002387e)
17bdfc3b7SEnji Cooper# $FreeBSD$
27bdfc3b7SEnji Cooper
3a3b6b3acSMark Johnston.include <src.opts.mk>
4a3b6b3acSMark Johnston
57bdfc3b7SEnji CooperATF_TESTS_SH+=	makefs_cd9660_tests
6*09a2fce0SMark JohnstonTEST_METADATA.makefs_cd9660_tests+=	required_files="/sbin/mount_cd9660"
77bdfc3b7SEnji CooperATF_TESTS_SH+=	makefs_ffs_tests
8a3b6b3acSMark Johnston.if ${MK_ZFS} != "no"
9240afd8cSMark JohnstonATF_TESTS_SH+=	makefs_zfs_tests
10*09a2fce0SMark Johnston# ZFS pools created by makefs always have the same GUID, so OpenZFS
11*09a2fce0SMark Johnston# refuses to import more than one at a time.  Thus the ZFS tests cannot
12*09a2fce0SMark Johnston# be run in parallel for now.
13*09a2fce0SMark 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