diff options
| author | Alan Somers <asomers@FreeBSD.org> | 2026-01-27 00:04:58 +0000 |
|---|---|---|
| committer | Alan Somers <asomers@FreeBSD.org> | 2026-01-31 15:46:35 +0000 |
| commit | df68a09ea2ec18ee975fb937d46a18250d4663c8 (patch) | |
| tree | 30e14e870a0f07af0d0bc537458b37dde1bd815f | |
| parent | 0a3e7ba466376b46672b56c991c09cde528b9729 (diff) | |
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
| -rw-r--r-- | tests/sys/capsicum/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
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 \ |
