7cc42f6d25
Repeating the default WARNS here makes it slightly more difficult to experiment with default WARNS changes, e.g. if we did something absolutely bananas and introduced a WARNS=7 and wanted to try lifting the default to that. Drop most of them; there is one in the blake2 kernel module, but I suspect it should be dropped -- the default WARNS in the rest of the build doesn't currently apply to kernel modules, and I haven't put too much thought into whether it makes sense to make it so.
59 lines
1.5 KiB
Makefile
59 lines
1.5 KiB
Makefile
# $FreeBSD$
|
|
|
|
TESTSDIR= ${TESTSBASE}/sys/audit
|
|
|
|
ATF_TESTS_C= file-attribute-access
|
|
ATF_TESTS_C+= file-attribute-modify
|
|
ATF_TESTS_C+= file-create
|
|
ATF_TESTS_C+= file-delete
|
|
ATF_TESTS_C+= file-close
|
|
ATF_TESTS_C+= file-write
|
|
ATF_TESTS_C+= file-read
|
|
ATF_TESTS_C+= open
|
|
ATF_TESTS_C+= ioctl
|
|
ATF_TESTS_C+= network
|
|
ATF_TESTS_C+= inter-process
|
|
ATF_TESTS_C+= administrative
|
|
ATF_TESTS_C+= process-control
|
|
ATF_TESTS_C+= miscellaneous
|
|
|
|
SRCS.file-attribute-access+= file-attribute-access.c
|
|
SRCS.file-attribute-access+= utils.c
|
|
SRCS.file-attribute-modify+= file-attribute-modify.c
|
|
SRCS.file-attribute-modify+= utils.c
|
|
SRCS.file-create+= file-create.c
|
|
SRCS.file-create+= utils.c
|
|
SRCS.file-delete+= file-delete.c
|
|
SRCS.file-delete+= utils.c
|
|
SRCS.file-close+= file-close.c
|
|
SRCS.file-close+= utils.c
|
|
SRCS.file-write+= file-write.c
|
|
SRCS.file-write+= utils.c
|
|
SRCS.file-read+= file-read.c
|
|
SRCS.file-read+= utils.c
|
|
SRCS.open+= open.c
|
|
SRCS.open+= utils.c
|
|
SRCS.ioctl+= ioctl.c
|
|
SRCS.ioctl+= utils.c
|
|
SRCS.network+= network.c
|
|
SRCS.network+= utils.c
|
|
SRCS.inter-process+= inter-process.c
|
|
SRCS.inter-process+= utils.c
|
|
SRCS.administrative+= administrative.c
|
|
SRCS.administrative+= utils.c
|
|
SRCS.process-control+= process-control.c
|
|
SRCS.process-control+= utils.c
|
|
SRCS.miscellaneous+= miscellaneous.c
|
|
SRCS.miscellaneous+= utils.c
|
|
|
|
TEST_METADATA+= timeout="30"
|
|
TEST_METADATA+= required_user="root"
|
|
TEST_METADATA+= is_exclusive="true"
|
|
TEST_METADATA+= required_files="/etc/rc.d/auditd /dev/auditpipe"
|
|
|
|
LDFLAGS+= -lbsm -lutil
|
|
|
|
CFLAGS.process-control.c+= -I${SRCTOP}/tests
|
|
|
|
.include <bsd.test.mk>
|