git: 43dc4b35617d - stable/15 - Account for the ctl test needing the ctl(4) module

From: Enji Cooper <ngie_at_FreeBSD.org>
Date: Sun, 01 Feb 2026 00:55:10 UTC
The branch stable/15 has been updated by ngie:

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

commit 43dc4b35617d042ceba17f3a9127f4ff6f72ff71
Author:     Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2026-01-25 00:17:06 +0000
Commit:     Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-02-01 00:54:59 +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
    
    (cherry picked from commit da59b3147b01203bb18bcd03cce7a6d5916e87c3)
---
 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 6366676b6fc5..42db0d36c957 100644
--- a/tests/sys/fs/fusefs/Makefile
+++ b/tests/sys/fs/fusefs/Makefile
@@ -66,6 +66,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"