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