capsicum tests: Serialize functional tests

The test suite runs the same tests twice, as different users, and these
can trample over each other when run in parallel, causing spurious test
failures.

MFC after:	1 week
This commit is contained in:
Mark Johnston 2024-09-03 14:39:02 +00:00
parent b5d3f8252f
commit 41ece3c036

View file

@ -13,6 +13,10 @@ CFLAGS+= -I${SRCTOP}/tests
GTESTS+= capsicum-test
GTESTS_WRAPPER_SH.capsicum-test= functional
# This test script runs the same test suite twice, once as root and once as an
# 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"
SRCS.capsicum-test+= \
capsicum-test-main.cc \