opnsense-src/tests/sys
Dag-Erling Smørgrav dd81cc2bc5 getdirentries: Return ENOTDIR if not a directory.
This is both more logical and more useful than EINVAL.

While here, also check for VBAD and return EBADF in that case.  This can
happen if the underlying filesystem got forcibly unmounted after the
directory was opened.  Previously, this would also have returned EINVAL,
which wasn't right but wasn't wrong either; however, ENOTDIR would not
be appropriate.

MFC after:	never
Sponsored by:	Klara, Inc.
Reviewed by:	kevans, kib
Differential Revision:	https://reviews.freebsd.org/D51209
2025-07-09 22:34:18 +02:00
..
acl
aio aio_kqueue_test: Fix CID 1558429 2025-01-09 08:42:36 -06:00
audit
auditpipe
cam ctl: add ATF tests for SCSI PERSISTENT RESERVE IN/OUT 2025-06-15 09:55:15 -06:00
capsicum
cddl Fix the zfsd_fault_001_pos test 2025-05-02 08:48:58 -06:00
common
compat32
devrandom
fifo
file tests: Adapt existing tests for O_CLOEXEC to O_CLOFORK 2025-07-06 23:08:46 +00:00
fs fusefs: Upgrade FUSE protocol to version 7.35. 2025-07-03 10:23:10 -06:00
geom
kern getdirentries: Return ENOTDIR if not a directory. 2025-07-09 22:34:18 +02:00
kqueue tests/kqueue: repair flaky test 2025-06-24 15:29:03 -07:00
mac
mqueue
net if_bridge_test: add a test for QinQ (802.1ad) 2025-07-05 08:08:09 +01:00
netgraph ng_ksocket: Add tests for IPv6 2025-06-25 12:12:11 +02:00
netinet fibs_test: Mark same_ip_multiple_ifaces_fib0 as expected to fail 2025-06-26 21:27:57 +00:00
netinet6 netinet6 tests: fix typo in the test 2025-04-09 13:30:09 +02:00
netipsec tests: fix test for NULL encription 2025-03-25 10:23:40 +03:00
netlink netlink: Move static arrays of parsers into tests that use them 2025-04-11 09:52:39 -04:00
netmap netmap: Disable a buggy and unsafe test (sync_kloop_conflict) 2025-03-06 13:22:25 -05:00
netpfil tests: Get the MAC from the epairs. 2025-07-09 17:38:08 +02:00
opencrypto
pjdfstest
posixshm shm: Respect PROT_MAX when creating private mappings 2024-10-04 15:56:34 +00:00
ses
sound sound tests: Fetch HWBUF_RATE and SWBUF_RATE in sndstat_nv 2025-04-26 12:06:52 +02:00
sys queue(3): Add a test for STAILQ_REVERSE() 2025-05-07 14:34:39 +02:00
vfs
vm tests: move some files to the tests package 2025-05-05 16:39:25 +01:00
vmm vmm tests: Check for /dev/vmmctl to decide if vmm is initialized 2025-02-08 16:05:37 +00:00
Makefile
Makefile.depend
Makefile.inc