The branch main has been updated by markj:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=a3b6b3ac4d967928380e58aa4c3f8132f0b30aad

commit a3b6b3ac4d967928380e58aa4c3f8132f0b30aad
Author:     Mark Johnston <[email protected]>
AuthorDate: 2022-08-29 16:35:37 +0000
Commit:     Mark Johnston <[email protected]>
CommitDate: 2022-08-29 16:50:51 +0000

    makefs tests: Do not install ZFS tests if WITHOUT_ZFS is defined
---
 usr.sbin/makefs/tests/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/usr.sbin/makefs/tests/Makefile b/usr.sbin/makefs/tests/Makefile
index c2c9f6bea5b6..842c4d566259 100644
--- a/usr.sbin/makefs/tests/Makefile
+++ b/usr.sbin/makefs/tests/Makefile
@@ -1,8 +1,12 @@
 # $FreeBSD$
 
+.include <src.opts.mk>
+
 ATF_TESTS_SH+= makefs_cd9660_tests
 ATF_TESTS_SH+= makefs_ffs_tests
+.if ${MK_ZFS} != "no"
 ATF_TESTS_SH+= makefs_zfs_tests
+.endif
 
 BINDIR=                ${TESTSDIR}
 

Reply via email to