From df68a09ea2ec18ee975fb937d46a18250d4663c8 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Mon, 26 Jan 2026 17:04:58 -0700 Subject: [PATCH] tests: sys/capsicum/functional requires mqueuefs Skip this test if mqueuefs isn't loaded. Unfortunately, that will skip the entire googletest test program, including test cases that don't require mqueuefs. But the test's own skipping logic doesn't work, and we don't yet have a googletest-compatible require_kmods() function. MFC after: 2 weeks Sponsored by: ConnectWise Reviewed by: emaste, ngie Differential Revision: https://reviews.freebsd.org/D54902 --- tests/sys/capsicum/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/sys/capsicum/Makefile b/tests/sys/capsicum/Makefile index 38c1f828591..a8f72d399af 100644 --- a/tests/sys/capsicum/Makefile +++ b/tests/sys/capsicum/Makefile @@ -15,6 +15,7 @@ GTESTS_WRAPPER_SH.capsicum-test= functional # unprivileged user. Serialize them since some tests access global namespaces, # e.g., mqueuefs, and can trample on each other. TEST_METADATA.functional+= is_exclusive="true" +TEST_METADATA.functional+= required_kmods="mqueuefs" SRCS.capsicum-test+= \ capsicum-test-main.cc \