git: e3e71c6a8a92 - stable/15 - tests: sys/capsicum/functional requires mqueuefs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 26 Mar 2026 14:40:59 UTC
The branch stable/15 has been updated by asomers:
URL: https://cgit.FreeBSD.org/src/commit/?id=e3e71c6a8a921e924a40a7db9378d58194bebe02
commit e3e71c6a8a921e924a40a7db9378d58194bebe02
Author: Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2026-01-27 00:04:58 +0000
Commit: Alan Somers <asomers@FreeBSD.org>
CommitDate: 2026-03-26 14:40:33 +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.
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 38c1f8285910..a8f72d399af9 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 \