git: da59b3147b01 - main - Account for the ctl test needing the ctl(4) module
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 25 Jan 2026 00:18:56 UTC
The branch main has been updated by ngie:
URL: https://cgit.FreeBSD.org/src/commit/?id=da59b3147b01203bb18bcd03cce7a6d5916e87c3
commit da59b3147b01203bb18bcd03cce7a6d5916e87c3
Author: Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2026-01-25 00:17:06 +0000
Commit: Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-01-25 00:18:45 +0000
Account for the ctl test needing the ctl(4) module
This testcase does not function unless the /dev/ctl/... node exists,
which is created by the ctl(4) module. Require the ctl(4) module to be
loaded so the test can be executed.
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D54518
---
tests/sys/fs/fusefs/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/sys/fs/fusefs/Makefile b/tests/sys/fs/fusefs/Makefile
index 8e5fe112a1e4..539a54cf5303 100644
--- a/tests/sys/fs/fusefs/Makefile
+++ b/tests/sys/fs/fusefs/Makefile
@@ -67,6 +67,9 @@ TEST_METADATA.default_permissions+= required_user="unprivileged"
TEST_METADATA.default_permissions_privileged+= required_user="root"
TEST_METADATA.mknod+= required_user="root"
TEST_METADATA.nfs+= required_user="root"
+# NB: per-testcase metadata properties override global metadata properties.
+# This must reference all of the required modules for the test.
+TEST_METADATA.ctl+= required_kmods="ctl fusefs"
# ctl must be exclusive because it disables/enables camsim
TEST_METADATA.ctl+= is_exclusive="true"
TEST_METADATA.ctl+= required_user="root"