test/recipes/90-test_shlibload.t: Skip when address sanitizer enabled
authorRichard Levitte <levitte@openssl.org>
Fri, 30 Oct 2020 12:16:46 +0000 (13:16 +0100)
committerRichard Levitte <levitte@openssl.org>
Sun, 1 Nov 2020 05:01:09 +0000 (06:01 +0100)
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 <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13281)

test/recipes/90-test_shlibload.t

index e73748279b0bdf7321f2073c9dd2772539b67032..d3944308d36cae5710d42397f247add4219386a0 100644 (file)
@@ -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;