mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
Add tests for the -T flag to each makefs backend. This includes tests for both mtree and directory scan options. PR: 285630 Sponsored by: Klara, Inc. Sponsored by: The FreeBSD Foundation Reviewed by: markj, emaste, kevans, jlduran Differential Revision: https://reviews.freebsd.org/D49492
26 lines
802 B
Makefile
26 lines
802 B
Makefile
.include <src.opts.mk>
|
|
|
|
ATF_TESTS_SH+= makefs_cd9660_tests
|
|
TEST_METADATA.makefs_cd9660_tests+= required_files="/sbin/mount_cd9660"
|
|
ATF_TESTS_SH+= makefs_ffs_tests
|
|
ATF_TESTS_SH+= makefs_msdos_tests
|
|
TEST_METADATA.makefs_msdos_tests+= required_files="/sbin/mount_msdosfs"
|
|
.if ${MK_ZFS} != "no"
|
|
ATF_TESTS_SH+= makefs_zfs_tests
|
|
# ZFS pools created by makefs always have the same GUID, so OpenZFS
|
|
# refuses to import more than one at a time. Thus the ZFS tests cannot
|
|
# be run in parallel for now.
|
|
TEST_METADATA.makefs_zfs_tests+= is_exclusive="true"
|
|
.endif
|
|
|
|
BINDIR= ${TESTSDIR}
|
|
|
|
# XXX: PACKAGE support for SCRIPTS
|
|
SCRIPTS+= makefs_tests_common.sh
|
|
SCRIPTSNAME_makefs_tests_common.sh= makefs_tests_common.sh
|
|
|
|
.for t in ${ATF_TESTS_SH}
|
|
TEST_METADATA.$t+= required_user="root"
|
|
.endfor
|
|
|
|
.include <bsd.test.mk>
|