mirror of
https://github.com/opnsense/src.git
synced 2026-04-24 15:48:48 -04:00
The only syscalls in this class are rmdir, unlink, unlinkat, rename, and renameat. Also, set is_exclusive for all audit(4) tests, because they can start and stop auditd. Submitted by: aniketp MFC after: 2 weeks Sponsored by: Google, Inc. (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D15647
27 lines
534 B
Makefile
27 lines
534 B
Makefile
# $FreeBSD$
|
|
|
|
TESTSDIR= ${TESTSBASE}/sys/audit
|
|
|
|
ATF_TESTS_C= file-create
|
|
ATF_TESTS_C+= file-delete
|
|
ATF_TESTS_C+= file-write
|
|
ATF_TESTS_C+= file-read
|
|
|
|
SRCS.file-create+= file-create.c
|
|
SRCS.file-create+= utils.c
|
|
SRCS.file-delete+= file-delete.c
|
|
SRCS.file-delete+= utils.c
|
|
SRCS.file-write+= file-write.c
|
|
SRCS.file-write+= utils.c
|
|
SRCS.file-read+= file-read.c
|
|
SRCS.file-read+= utils.c
|
|
|
|
TEST_METADATA+= timeout="30"
|
|
TEST_METADATA+= required_user="root"
|
|
TEST_METADATA+= is_exclusive="true"
|
|
|
|
WARNS?= 6
|
|
|
|
LDFLAGS+= -lbsm
|
|
|
|
.include <bsd.test.mk>
|