From: Neil Horman Date: Thu, 8 Feb 2024 14:17:44 +0000 (-0500) Subject: Skip shlibload tests if no-atexit is configured X-Git-Tag: openssl-3.3.0-alpha1~96 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53273092f6d64e91f4116bb781eb74dcc98a25dc;p=thirdparty%2Fopenssl.git Skip shlibload tests if no-atexit is configured the shared library load tests fail if no-atexit is configured. The entire test suite relies on atexit handling to indicate an at exit handler has run, by producing a file that the test recipe then reads. With no-atexit that never happens, and the test fails If no-atexit is specified, skip all the tests Reviewed-by: Matt Caswell Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/23523) --- diff --git a/test/recipes/90-test_shlibload.t b/test/recipes/90-test_shlibload.t index 8f691dee38e..af6bae20af3 100644 --- a/test/recipes/90-test_shlibload.t +++ b/test/recipes/90-test_shlibload.t @@ -23,6 +23,7 @@ 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 skip_all => "Test is disabled if no-atexit is specified" if disabled("atexit"); plan tests => 10;