freebsd-skq/tests/sys/audit
Alex Richardson 40407d3998 tests/sys/audit: Skip extattr tests if extattrs are not supported
In the CheriBSD CI, we run the testsuite with /tmp as tmpfs. This causes
the extattr audit tests to fail since tmpfs does not (yet) support
extattrs. Skip those tests if the target path is on a file system that
does not support extended file attributes.

While touching these two files also convert the ATF_REQUIRE_EQ(-1, ...)
checks to use ATF_REQURIE_ERRNO().

Reviewed By:	asomers
Differential Revision: https://reviews.freebsd.org/D28392
2021-02-02 09:55:19 +00:00
..
administrative.c audit(4) tests: require /etc/rc.d/auditd 2018-12-17 18:11:06 +00:00
file-attribute-access.c tests/sys/audit: Skip extattr tests if extattrs are not supported 2021-02-02 09:55:19 +00:00
file-attribute-modify.c tests/sys/audit: Skip extattr tests if extattrs are not supported 2021-02-02 09:55:19 +00:00
file-close.c tests: audit: mark closefrom test an expected fail for now 2020-04-14 23:36:03 +00:00
file-create.c audit(4): Fix file descriptor leaks in ATF tests 2018-06-13 17:01:57 +00:00
file-delete.c audit(4): Fix file descriptor leaks in ATF tests 2018-06-13 17:01:57 +00:00
file-read.c
file-write.c audit(4): Fix file descriptor leaks in ATF tests 2018-06-13 17:01:57 +00:00
inter-process.c audit(4): add tests for pipe, posix_openpt, shm_open, and shm_unlink 2018-06-26 19:26:07 +00:00
ioctl.c audit(4): add tests for ioctl(2) 2018-06-19 01:32:33 +00:00
Makefile Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
miscellaneous.c audit(4): add tests for sysctl(3) and sysarch(2) 2018-07-29 20:34:44 +00:00
network.c Fix audit of chflagsat, lgetfh, and setfib 2018-07-22 14:11:52 +00:00
open.c audit(4): improve formatting in tests/sys/audit/open.c 2018-06-15 15:36:10 +00:00
process-control.c Fix and simplify code by using ATF_REQUIRE_FEATURE macro 2019-04-01 14:21:32 +00:00
utils.c tests/sys/audit: Skip extattr tests if extattrs are not supported 2021-02-02 09:55:19 +00:00
utils.h tests/sys/audit: Skip extattr tests if extattrs are not supported 2021-02-02 09:55:19 +00:00