cap_sysctl tests: Serialize

These tests fail spuriously when run in parallel, since some of them
write a value to a global sysctl, read it back, and expect to see the
written value.  These tests complete quite quickly in any case.

MFC after:	1 week
This commit is contained in:
Mark Johnston 2023-03-24 12:26:20 -04:00
parent b60600ceeb
commit 5d96ca7a30

View file

@ -11,6 +11,9 @@ CFLAGS+=-DWITH_CASPER
.endif
LIBADD+= nv
TEST_METADATA.sysctl_test+= required_user="root"
# cap_sysctl tests modify global sysctl values and read them back, so
# cannot be run in parallel.
TEST_METADATA.sysctl_test+= required_user="root" \
is_exclusive=true
.include <bsd.test.mk>