opnsense-src/lib/libcasper/services/cap_sysctl/tests/Makefile
Mark Johnston 5d96ca7a30 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
2023-03-30 19:35:59 -04:00

19 lines
362 B
Makefile

# $FreeBSD$
.include <src.opts.mk>
ATF_TESTS_C= sysctl_test
.if ${MK_CASPER} != "no"
LIBADD+= casper
LIBADD+= cap_sysctl
CFLAGS+=-DWITH_CASPER
.endif
LIBADD+= nv
# 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>