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
This commit is contained in:
Alan Somers
2026-01-26 17:04:58 -07:00
parent 0a3e7ba466
commit df68a09ea2
+1
View File
@@ -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 \