opnsense-src/tests/sys
Olivier Certner 4826471026
queue(3): Add simple tests for some macros for all list/tailq types
These essentially test building a list/tailq of 100 elements with
_INSERT_HEAD(), iterating over them with _FOREACH(), splitting it with
_SPLIT_AFTER() and concatenating back the results with _CONCAT(),
checking that the lists/tailqs at each step have the right number of
elements and at the expected positions.

Reviewed by:    markj
MFC after:      2 days
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D49975

(cherry picked from commit 4fa275a5f35742a5d662db7106d20819329dc8f2)
2025-05-01 21:48:48 +02:00
..
acl Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
aio Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
audit Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
auditpipe Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
cam Make the CTL tests more resilient 2025-01-20 09:23:08 -07:00
capsicum capsicum tests: Serialize functional tests 2024-09-20 11:39:16 +00:00
cddl zfsd: replace vdevs with the AUX faulted state 2024-10-31 08:00:32 -06:00
common vnet tests: verify that we can load if_epair and if_bridge 2024-08-22 21:01:33 +02:00
compat32 tests: Don't recurse into sys/compat32 2023-05-16 02:06:34 +01:00
devrandom Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
fifo Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
file path_test: adjust test for open(O_PATH | O_CREAT) 2025-01-14 10:56:41 +02:00
fs fusefs: slightly better debugging in the tests 2025-04-17 14:14:58 -06:00
geom geli tests: Use shorter passphrases in setkey_passphrase 2025-02-14 19:25:19 +00:00
kern ptrace_test: add test for expanded reporting of syscall args 2025-04-07 04:28:23 +03:00
kqueue kqueue tests: Add a regression test 2024-02-11 10:14:44 -05:00
mac Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:20 -06:00
mqueue Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
net if_ovpn: fix use-after-free of mbuf 2025-04-15 09:27:09 +02:00
netgraph Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
netinet fibs tests: Fix test failures and simplify 2025-04-06 18:08:18 +00:00
netinet6 netinet6 tests: Add Scapy as a required program 2025-03-01 22:53:06 +00:00
netipsec tests: fix test for NULL encription 2025-04-02 10:52:32 +03:00
netlink tests/netlink: mark a test that requires tun(4) 2025-03-31 19:02:20 -07:00
netmap netmap: fix unit tests 2025-04-06 18:05:05 +00:00
netpfil pfctl: fix recursive printing of NAT rules 2025-04-16 09:34:56 +02:00
opencrypto Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:20 -06:00
pjdfstest Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
posixshm shm: Respect PROT_MAX when creating private mappings 2024-11-04 15:38:35 +00:00
ses Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
sound sound: Implement AFMT_FLOAT support 2025-04-06 02:28:14 +02:00
sys queue(3): Add simple tests for some macros for all list/tailq types 2025-05-01 21:48:48 +02:00
vfs Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
vm shm: Respect PROT_MAX when creating private mappings 2024-11-04 15:38:35 +00:00
vmm spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
Makefile ctl: add some ATF tests for READ BUFFER 2024-09-04 15:00:20 +00:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00