git: 2662fd6a487b - main - fusefs: report that all tests require the fusefs kernel module
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 22 Jul 2025 22:33:41 UTC
The branch main has been updated by asomers: URL: https://cgit.FreeBSD.org/src/commit/?id=2662fd6a487bb505cf1667e4cc3436b36f7e9d4e commit 2662fd6a487bb505cf1667e4cc3436b36f7e9d4e Author: Alan Somers <asomers@FreeBSD.org> AuthorDate: 2025-07-22 16:35:03 +0000 Commit: Alan Somers <asomers@FreeBSD.org> CommitDate: 2025-07-22 22:32:39 +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. MFC after: 2 weeks Sponsored by: ConnectWise Reviewed by: Siva Mahadevan <me@svmhdvn.name> Pull Request: https://github.com/freebsd/freebsd-src/pull/1782 --- 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 b11f11bdfa98..a21512798597 100644 --- a/tests/sys/fs/fusefs/Makefile +++ b/tests/sys/fs/fusefs/Makefile @@ -70,7 +70,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 # Suppress warnings that GCC generates for the libc++ and gtest headers.