opnsense-src/tests/sys
Enji Cooper cdb9318eed Don't leave path behind when executing :chflags_success
Prior to this change a `SF_IMMUTABLE` chflagsat(2)'ed file (`path`) was left
behind, which sabotaged kyua(1) from being able to clean up the work directory,
This resulted in unnecessary work for folks having to clean up the work
directory on non-disposable systems, which defaults to `/tmp`. Use `UF_OFFLINE`
instead of `SF_IMMUTABLE`, in part because setting `SF_IMMUTABLE` isn't relevant
to the test and `SF_IMMUTABLE` cannot be cleared at all securelevels, as pointed
out by @asomers.

Additional work is required to catch cases like this upfront in the future to
avoid tester headache. See PR # 247765 for more details/followup.

Suggested by:	asomers
Reviewed By:	asomers, #tests
MFC after:	1 week
PR:		247761
Sponsored by:	DellEMC
Differential Revision: https://reviews.freebsd.org/D25561
2020-07-12 17:16:57 +00:00
..
acl Set required program for all acl tests 2019-09-05 18:54:46 +00:00
aio lio_listio_empty_nowait_thread sometimes does *not* hang. 2020-01-04 18:59:46 +00:00
audit Don't leave path behind when executing :chflags_success 2020-07-12 17:16:57 +00:00
auditpipe Make sys.auditpipe depend on /dev/auditpipe. This fixes a few failures 2020-06-24 12:17:40 +00:00
capsicum Integrate capsicum-test into the FreeBSD test suite 2019-04-01 21:24:50 +00:00
cddl zfs: multiple improvements to the zpool_add tests 2019-10-10 02:17:45 +00:00
common Add tests verifying IPv4/IPv6 output for TCP/UDP/raw paths. 2020-03-23 12:21:32 +00:00
devrandom random(4): Fortuna: allow increased concurrency 2019-06-17 20:29:13 +00:00
fifo Avoid hard-coding pipe buffer sizes in the pipe and fifo kqueue tests. 2020-05-20 17:48:18 +00:00
file close_range/closefrom: fix regression from close_range introduction 2020-04-13 17:55:31 +00:00
fs Fix issues with FUSE_ACCESS when default_permissions is disabled 2020-05-22 18:11:17 +00:00
geom geli: enable direct dispatch 2020-07-08 17:12:12 +00:00
kern memfd_create: turn on SHM_GROW_ON_WRITE 2020-07-10 00:45:16 +00:00
kqueue Enable timer tests in sys.kqueue.libkqueue.kqueue_test.main on i386 2020-04-22 09:53:41 +00:00
mac Resolve conflict between the fusefs(5) and mac_bsdextended(4) tests 2020-05-02 20:14:59 +00:00
mqueue DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
net Skip sys.net.if_lagg_test.lacp_linkstate_destroy_stress in CI because of panic 2020-06-11 18:59:57 +00:00
netinet Proper check if divert(4) module is present by the relevant tests 2020-05-27 16:33:00 +00:00
netinet6 Fix IPv6 regression introduced by r362900. 2020-07-03 08:06:26 +00:00
netipsec Revert r361497, these cases are fixed by r361617. 2020-05-29 10:09:47 +00:00
netmap netmap: add test cases for multiple host rings 2019-04-13 12:50:47 +00:00
netpfil pf tests: fix up a couple WARNS= 6 nits 2020-05-14 23:20:58 +00:00
opencrypto Remove support for the algorithms deprecated in r348876. 2020-05-02 14:20:32 +00:00
pjdfstest Tag pjdfstest symlink with pkgbase package 2020-02-12 17:37:32 +00:00
posixshm posixshm: implement posix_fallocate(2) 2020-01-08 19:08:44 +00:00
sys Revert r357246 2020-01-29 22:37:01 +00:00
vfs vfs_lookup: Allow PATH_MAX-1 symlinks 2017-11-17 19:25:39 +00:00
vm Adjust tests after page fault changes in r352807 2019-09-29 15:17:58 +00:00
Makefile tests: Enable net tests 2020-02-13 14:09:09 +00:00
Makefile.depend DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
Makefile.inc Use MK_CHECK_USE_SANDBOX in tests/..., to deal with the fact that 2017-08-02 22:24:08 +00:00