3 TESTSDIR= ${TESTSBASE}/sys/audit
5 ATF_TESTS_C= file-attribute-access
6 ATF_TESTS_C+= file-attribute-modify
7 ATF_TESTS_C+= file-create
8 ATF_TESTS_C+= file-delete
9 ATF_TESTS_C+= file-close
10 ATF_TESTS_C+= file-write
11 ATF_TESTS_C+= file-read
15 ATF_TESTS_C+= inter-process
16 ATF_TESTS_C+= administrative
17 ATF_TESTS_C+= process-control
18 ATF_TESTS_C+= miscellaneous
20 SRCS.file-attribute-access+= file-attribute-access.c
21 SRCS.file-attribute-access+= utils.c
22 SRCS.file-attribute-modify+= file-attribute-modify.c
23 SRCS.file-attribute-modify+= utils.c
24 SRCS.file-create+= file-create.c
25 SRCS.file-create+= utils.c
26 SRCS.file-delete+= file-delete.c
27 SRCS.file-delete+= utils.c
28 SRCS.file-close+= file-close.c
29 SRCS.file-close+= utils.c
30 SRCS.file-write+= file-write.c
31 SRCS.file-write+= utils.c
32 SRCS.file-read+= file-read.c
33 SRCS.file-read+= utils.c
38 SRCS.network+= network.c
39 SRCS.network+= utils.c
40 SRCS.inter-process+= inter-process.c
41 SRCS.inter-process+= utils.c
42 SRCS.administrative+= administrative.c
43 SRCS.administrative+= utils.c
44 SRCS.process-control+= process-control.c
45 SRCS.process-control+= utils.c
46 SRCS.miscellaneous+= miscellaneous.c
47 SRCS.miscellaneous+= utils.c
49 TEST_METADATA+= timeout="30"
50 TEST_METADATA+= required_user="root"
51 TEST_METADATA+= is_exclusive="true"
52 TEST_METADATA+= required_files="/etc/rc.d/auditd /dev/auditpipe"
54 LDFLAGS+= -lbsm -lutil
56 CFLAGS.process-control.c+= -I${SRCTOP}/tests
58 .include <bsd.test.mk>