git: fdbb6759aa4f - stable/14 - Account for the ctl test needing the ctl(4) module

From: Enji Cooper <ngie_at_FreeBSD.org>
Date: Sun, 01 Feb 2026 01:31:23 UTC
The branch stable/14 has been updated by ngie:

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

commit fdbb6759aa4f45e884f4c8af7c965ab8f33cf4d3
Author:     Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2026-01-25 00:17:06 +0000
Commit:     Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-02-01 01:19:10 +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 2b7e2c805583..00c879b53d7c 100644
--- a/tests/sys/fs/fusefs/Makefile
+++ b/tests/sys/fs/fusefs/Makefile
@@ -69,6 +69,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"