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