dep-openssl/test/testutil
Jakub Zelenka 4b8fece0f1 mfail: add sampled and count-only modes to test driver
Sampled tests cap allocation-failure injection at a fixed number of
sampled points, running exhaustively when the allocation count is below
that.  Non-sampled tests fall back to counting only on non-cached-fetch
builds, where exhaustive injection is impractical.

Assisted-by: Claude:claude-opus-4-8

Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.foundation>
MergeDate: Mon Jul 13 09:43:50 2026
(Merged from https://github.com/openssl/openssl/pull/31780)
2026-07-13 11:43:40 +02:00
..
apps_shims.c apps: Remove opt_legacy_okay function 2025-12-04 07:32:18 -05:00
basic_output.c Copyright year updates 2025-03-12 13:35:59 +00:00
cb.c Following the license change, modify the boilerplates in test/ 2018-12-06 14:19:22 +01:00
compare.c 4.0-POST-CLANG-FORMAT-WEBKIT 2025-12-09 00:28:19 -07:00
driver.c mfail: add sampled and count-only modes to test driver 2026-07-13 11:43:40 +02:00
fake_random.c 4.0-POST-CLANG-FORMAT-WEBKIT 2025-12-09 00:28:19 -07:00
format_output.c fix BIO_vsnprintf() with NULL string arg crash on Solaris 10 2026-04-10 14:22:43 +02:00
helper.c 4.0-POST-CLANG-FORMAT-WEBKIT 2025-12-09 00:28:19 -07:00
load.c CRL: Refactoring and tests for extensions, entries, and serial number duplicates 2026-05-13 09:36:38 +02:00
main.c Extend and separate mfail test framework 2026-05-18 09:23:43 +02:00
options.c 4.0-POST-CLANG-FORMAT-WEBKIT 2025-12-09 00:28:19 -07:00
output.c test cleanup: move helper .c and .h files to test/helpers/ 2020-12-01 07:49:38 +01:00
output.h Simplify printf-attribute guards in bio.h.in and test/testutil/output.h. 2026-07-10 07:47:13 -04:00
provider.c 4.0-POST-CLANG-FORMAT-WEBKIT 2025-12-09 00:28:19 -07:00
random.c 4.0-POST-CLANG-FORMAT-WEBKIT 2025-12-09 00:28:19 -07:00
stanza.c 4.0-POST-CLANG-FORMAT-WEBKIT 2025-12-09 00:28:19 -07:00
test_cleanup.c Following the license change, modify the boilerplates in test/ 2018-12-06 14:19:22 +01:00
test_options.c Update copyright year 2020-05-15 14:09:49 +01:00
tests.c Copyright year updates 2026-03-10 14:37:52 +00:00
testutil_init.c 4.0-POST-CLANG-FORMAT-WEBKIT 2025-12-09 00:28:19 -07:00
tu_local.h Extend and separate mfail test framework 2026-05-18 09:23:43 +02:00