aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Horman <nhorman@openssl.org>2024-02-08 09:17:44 -0500
committerTomas Mraz <tomas@openssl.org>2024-02-14 18:05:44 +0100
commit53273092f6d64e91f4116bb781eb74dcc98a25dc (patch)
tree2ca7f430db45213e792ed381a506167c6832cd9f
parent4f6133f9db2b9b7ce5e59d8b8ec38202a154c524 (diff)
downloadopenssl-53273092f6d64e91f4116bb781eb74dcc98a25dc.tar.gz
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 <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/23523)
-rw-r--r--test/recipes/90-test_shlibload.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/recipes/90-test_shlibload.t b/test/recipes/90-test_shlibload.t
index 8f691dee38..af6bae20af 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;