From: Richard Levitte Date: Fri, 30 Oct 2020 12:16:46 +0000 (+0100) Subject: test/recipes/90-test_shlibload.t: Skip when address sanitizer enabled X-Git-Tag: openssl-3.0.0-alpha8~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=08312719bafc93d9d93ed8b23931f2d18fc767d7;p=thirdparty%2Fopenssl.git test/recipes/90-test_shlibload.t: Skip when address sanitizer enabled Because this test loads the shared libraries dynamically, there are cases where that results in errors because the ASAN library wasn't loaded first. That makes this test unsuitable in an ASAN build. Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/13281) --- diff --git a/test/recipes/90-test_shlibload.t b/test/recipes/90-test_shlibload.t index e73748279b0..d3944308d36 100644 --- a/test/recipes/90-test_shlibload.t +++ b/test/recipes/90-test_shlibload.t @@ -23,6 +23,7 @@ plan skip_all => "Test only supported in a shared build" if disabled("shared"); plan skip_all => "Test is disabled on AIX" if config('target') =~ m|^aix|; plan skip_all => "Test is disabled on NonStop" if config('target') =~ m|^nonstop|; plan skip_all => "Test only supported in a dso build" if disabled("dso"); +plan skip_all => "Test is disabled in an address sanitizer build" unless disabled("asan"); plan tests => 10;