From: Eugene Syromiatnikov Date: Mon, 27 Apr 2026 09:00:32 +0000 (+0200) Subject: test/recipes/90-test_memfail.t: print OPENSSL_MALLOC_FAILURES on failure X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=379d7be40dd23cbec2169ce19062009d98937633;p=thirdparty%2Fopenssl.git test/recipes/90-test_memfail.t: print OPENSSL_MALLOC_FAILURES on failure So it's easier to reproduce the failure. Signed-off-by: Eugene Syromiatnikov Reviewed-by: Matt Caswell Reviewed-by: Nikola Pajkovsky MergeDate: Thu Apr 30 06:59:08 2026 (Merged from https://github.com/openssl/openssl/pull/30991) --- diff --git a/test/recipes/90-test_memfail.t b/test/recipes/90-test_memfail.t index e4a8a0d47af..f80a479ef62 100644 --- a/test/recipes/90-test_memfail.t +++ b/test/recipes/90-test_memfail.t @@ -91,7 +91,8 @@ sub run_memfail_test { # passing # $ENV{OPENSSL_MALLOC_FAILURES} = "$skipcount\@0;$idx\@0;1\@100;0\@0"; - ok(run(test(@cmd))); + ok(run(test(@cmd))) || \ + print STDERR "# OPENSSL_MALLOC_FAILURES=$ENV{OPENSSL_MALLOC_FAILURES}\n"; } }