mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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:
parent
b5d3f8252f
commit
41ece3c036
1 changed files with 4 additions and 0 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Reference in a new issue