xref: /freebsd/tests/sys/audit/Makefile (revision 3cbb4cc200f8a0ad7ed08233425ea54524a21f1c)
1# $FreeBSD$
2
3TESTSDIR=	${TESTSBASE}/sys/audit
4
5ATF_TESTS_C=	file-attribute-access
6ATF_TESTS_C+=	file-attribute-modify
7ATF_TESTS_C+=	file-create
8ATF_TESTS_C+=	file-delete
9ATF_TESTS_C+=	file-close
10ATF_TESTS_C+=	file-write
11ATF_TESTS_C+=	file-read
12ATF_TESTS_C+=	open
13ATF_TESTS_C+=	ioctl
14ATF_TESTS_C+=	network
15ATF_TESTS_C+=	inter-process
16ATF_TESTS_C+=	administrative
17ATF_TESTS_C+=	process-control
18ATF_TESTS_C+=	miscellaneous
19
20SRCS.file-attribute-access+=	file-attribute-access.c
21SRCS.file-attribute-access+=	utils.c
22SRCS.file-attribute-modify+=	file-attribute-modify.c
23SRCS.file-attribute-modify+=	utils.c
24SRCS.file-create+=	file-create.c
25SRCS.file-create+=	utils.c
26SRCS.file-delete+=	file-delete.c
27SRCS.file-delete+=	utils.c
28SRCS.file-close+=	file-close.c
29SRCS.file-close+=	utils.c
30SRCS.file-write+=	file-write.c
31SRCS.file-write+=	utils.c
32SRCS.file-read+=	file-read.c
33SRCS.file-read+=	utils.c
34SRCS.open+=		open.c
35SRCS.open+=		utils.c
36SRCS.ioctl+=		ioctl.c
37SRCS.ioctl+=		utils.c
38SRCS.network+=		network.c
39SRCS.network+=		utils.c
40SRCS.inter-process+=		inter-process.c
41SRCS.inter-process+=		utils.c
42SRCS.administrative+=		administrative.c
43SRCS.administrative+=		utils.c
44SRCS.process-control+=		process-control.c
45SRCS.process-control+=		utils.c
46SRCS.miscellaneous+=		miscellaneous.c
47SRCS.miscellaneous+=		utils.c
48
49TEST_METADATA+= timeout="30"
50TEST_METADATA+= required_user="root"
51TEST_METADATA+= is_exclusive="true"
52TEST_METADATA+=	required_files="/etc/rc.d/auditd /dev/auditpipe"
53
54LDFLAGS+=	-lbsm -lutil
55
56CFLAGS.process-control.c+=	-I${SRCTOP}/tests
57
58.include <bsd.test.mk>
59