xref: /freebsd/lib/libcasper/services/cap_sysctl/tests/Makefile (revision 734e82fe33aa764367791a7d603b383996c6b40b)
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