git: 931274f70d08 - stable/14 - fusefs: report that all tests require the fusefs kernel module
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 27 Sep 2025 14:19:18 UTC
The branch stable/14 has been updated by asomers:
URL: https://cgit.FreeBSD.org/src/commit/?id=931274f70d082b13e62f61eb51d78694946e4e5f
commit 931274f70d082b13e62f61eb51d78694946e4e5f
Author: Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2025-07-22 16:35:03 +0000
Commit: Alan Somers <asomers@FreeBSD.org>
CommitDate: 2025-09-27 14:16:10 +0000
fusefs: report that all tests require the fusefs kernel module
Previously the googletest tests would skip themselves if /dev/fuse could
not be found. But that information would not be passed to Kyua.
Instead it would think that they had passed. Also, the atf-sh test
would previously fail if the fusefs module weren't loaded. Now both
tests will correctly report their requirements to Kyua.
Note that fusefs's googletest tests still require that the
mac_bsdextended(4) module _not_ be loaded, but Kyua has no way to report
such a requirement.
Sponsored by: ConnectWise
Reviewed by: Siva Mahadevan <me@svmhdvn.name>
Pull Request: https://github.com/freebsd/freebsd-src/pull/1782
(cherry picked from commit 2662fd6a487bb505cf1667e4cc3436b36f7e9d4e)
---
tests/sys/fs/fusefs/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/sys/fs/fusefs/Makefile b/tests/sys/fs/fusefs/Makefile
index 9e2065be434a..2b7e2c805583 100644
--- a/tests/sys/fs/fusefs/Makefile
+++ b/tests/sys/fs/fusefs/Makefile
@@ -73,7 +73,8 @@ TEST_METADATA.nfs+= required_user="root"
TEST_METADATA.ctl+= is_exclusive="true"
TEST_METADATA.ctl+= required_user="root"
-TEST_METADATA+= timeout=10
+TEST_METADATA+= timeout=10
+TEST_METADATA+= required_kmods="fusefs"
FUSEFS= ${SRCTOP}/sys/fs/fuse
MOUNT= ${SRCTOP}/sbin/mount