]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix intermittent test failure in 80-test_cmp_http.t
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Thu, 9 Jan 2025 14:14:15 +0000 (15:14 +0100)
committerTomas Mraz <tomas@openssl.org>
Mon, 13 Jan 2025 19:21:35 +0000 (20:21 +0100)
commit9e362d7a9da3677015646bd7b3d8a7ef4e8e8ec9
tree1c6f968d4e6759d5420b4745562a7b3d708a728c
parent97d7337fb54f052550d26576ae433e9981ce14a6
Fix intermittent test failure in 80-test_cmp_http.t

output to stderr is unbuffered bypassing the normal output, which does
not happen at line boundaries and is therefore confusing the TAP parser.
This is known to cause random test failures like this one:

80-test_cmp_http.t                    (Wstat: 0 Tests: 5 Failed: 0)
  Parse errors: Tests out of sequence.  Found (6) but expected (5)
                Bad plan.  You planned 6 tests but ran 5.

Fixes #23992

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26364)
test/recipes/80-test_cmp_http.t