xref: /freebsd/lib/libcasper/services/cap_sysctl/tests/Makefile (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
1
2.include <src.opts.mk>
3
4ATF_TESTS_C=	sysctl_test
5
6.if ${MK_CASPER} != "no"
7LIBADD+=	casper
8LIBADD+=	cap_sysctl
9CFLAGS+=-DWITH_CASPER
10.endif
11LIBADD+=	nv
12
13# cap_sysctl tests modify global sysctl values and read them back, so
14# cannot be run in parallel.
15TEST_METADATA.sysctl_test+=	required_user="root" \
16				is_exclusive=true
17
18.include <bsd.test.mk>
19