opnsense-src/tests/sys/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
..
arb_test.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
bitset_test.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
bitstring_test.c bitstring: Support large bit strings. 2023-12-13 17:41:48 +01:00
Makefile queue(3): Add simple tests for some macros for all list/tailq types 2025-05-01 21:48:48 +02:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
qmath_test.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
queue_test.c queue(3): Add simple tests for some macros for all list/tailq types 2025-05-01 21:48:48 +02:00
rb_test.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
splay_test.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
time_test.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00