git: 78dba31e477c - stable/14 - tests: sys/capsicum/functional requires mqueuefs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 23 Nov 2026 05:49:22 UTC
The branch stable/14 has been updated by ngie:
URL: https://cgit.FreeBSD.org/src/commit/?id=78dba31e477c33adc9bc0899d11acab52dd00ce7
commit 78dba31e477c33adc9bc0899d11acab52dd00ce7
Author: Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2026-01-27 00:04:58 +0000
Commit: Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-11-23 05:32:03 +0000
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
(cherry picked from commit df68a09ea2ec18ee975fb937d46a18250d4663c8)
---
tests/sys/capsicum/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/sys/capsicum/Makefile b/tests/sys/capsicum/Makefile
index 82ea99448186..72da640437ac 100644
--- a/tests/sys/capsicum/Makefile
+++ b/tests/sys/capsicum/Makefile
@@ -16,6 +16,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 \