diff options
author | Alan Somers <asomers@FreeBSD.org> | 2018-06-01 21:24:10 +0000 |
---|---|---|
committer | Alan Somers <asomers@FreeBSD.org> | 2018-06-01 21:24:10 +0000 |
commit | a19dca2dfd63cb0205c6fac1fc0c4e00e8bea89a (patch) | |
tree | 5c5bdb31477d4333d49eb285726711d050bd205e /tests/sys/audit/Makefile | |
parent | 0de58b3f46be50e799270365afafa2099535a715 (diff) | |
download | src-a19dca2dfd63cb0205c6fac1fc0c4e00e8bea89a.tar.gz src-a19dca2dfd63cb0205c6fac1fc0c4e00e8bea89a.zip |
audit(4): add tests for the fd audit class
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
Notes
Notes:
svn path=/head/; revision=334496
Diffstat (limited to 'tests/sys/audit/Makefile')
-rw-r--r-- | tests/sys/audit/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/sys/audit/Makefile b/tests/sys/audit/Makefile index ba01d4838270..12636d62a132 100644 --- a/tests/sys/audit/Makefile +++ b/tests/sys/audit/Makefile @@ -3,11 +3,14 @@ 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 @@ -15,6 +18,7 @@ SRCS.file-read+= utils.c TEST_METADATA+= timeout="30" TEST_METADATA+= required_user="root" +TEST_METADATA+= is_exclusive="true" WARNS?= 6 |