opnsense-src/tests/sys
Alan Somers dba2e89ea7 Multiple fixes to the zfsd test suite
* Wait for gnop devices to disappear after "gnop destroy".

  Apparently that process is asynchronous now, or maybe it's just slower
  than it used to be.  Also, after removing a gnop wait for its pool to
  be degraded.  That isn't instant.

* The zfsd tests no longer require camcontrol.

  This was a harmless oversight from
  11ed0a95bf

* Fix the zfsd_degrade_001_pos test for recent zfs versions.

  ZFS now rate limits checksum errors to about 20 per second.  But
  zfsd's threshold for degrading a disk is 50 per minute.  So we must
  alternately corrupt and scrub the pool to ensure that checksum errors
  are generated in multiple 1-second windows, so that zfsd will see
  enough of them.

* Fix the zfsd_fault_001_pos test in VMs

  And, for that matter, when using NVME or SATA disks.  As originally
  written, the test used the da driver to inject errors.  Rewrite it to
  use gnop vdevs.  gnop can also inject errors.  It works on top of any
  disk device, and it's also faster than using da.

MFC after:	2 weeks
Sponsored by:	Axcient
Differential Revision: https://reviews.freebsd.org/D39437
2023-07-10 16:36:57 -06:00
..
acl acl tests: Serialize 2023-03-30 19:35:59 -04:00
aio aio tests: Use unique names for zvols 2023-03-30 19:35:59 -04:00
audit tests/sys/audit: Remove MIPS-specific sysarch(2) test. 2023-03-29 15:06:03 -07:00
auditpipe Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
capsicum spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
cddl Multiple fixes to the zfsd test suite 2023-07-10 16:36:57 -06:00
common pf tests: properly destroy renamed interfaces 2023-01-16 07:23:07 +01:00
compat32 tests: Don't recurse into sys/compat32 2023-05-16 02:06:34 +01:00
devrandom spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
fifo spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
file spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
fs tests/fusefs: Suppress false warning from GCC. 2023-06-20 12:34:39 -07:00
geom geli tests: Add a regression test for PR 271766 2023-06-12 12:52:24 -04:00
kern unix tests: Add a regression test for getpeername(2) 2023-06-21 14:39:36 -04:00
kqueue kqueue tests: Simplify the test runner 2022-05-24 20:17:41 -04:00
mac Resolve conflict between the fusefs(5) and mac_bsdextended(4) tests 2020-05-02 20:14:59 +00:00
mqueue Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
net spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
netgraph netgraph tests: Serialize 2023-03-18 16:57:11 -04:00
netinet Mark usage function as __dead2 in programs where it does not return 2023-07-07 10:45:17 -06:00
netinet6 netinet6: make IPv6 fragment TTL per-VNET configurable. 2023-06-01 12:04:49 +00:00
netipsec netipsec tests: Serialize 2023-03-20 12:21:17 -04:00
netlink netlink: fix failing TestRtNlAddIfaddrLo::test_add_6 tests. 2023-06-13 15:26:44 +00:00
netmap spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
netpfil pf tests: test double-pass codel 2023-07-03 21:32:33 +02:00
opencrypto test/sys/opencrypto: Fix NIST KAT parser iterator 2022-10-06 16:42:31 +02:00
pjdfstest Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
posixshm spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
ses ses: cleanup ses tests 2023-03-27 14:06:51 -06:00
sys spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
vfs capsicum: Verify that openat("/", "..") fails with ENOTCAPABLE 2023-04-25 09:54:47 -04:00
vm spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
vmm spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
Makefile tests: Don't recurse into sys/compat32 2023-05-16 02:06:34 +01:00
Makefile.depend DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
Makefile.inc Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00