From: Matthias Kraft Date: Wed, 10 Dec 2025 16:02:54 +0000 (+0100) Subject: Ensure path to libcrypto can be resolved on AIX. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4da427c93bdc37d8faa7c115bd0e98cd6cfd534;p=thirdparty%2Fopenssl.git Ensure path to libcrypto can be resolved on AIX. On AIX, the environment of the test executable for test_includes doesn't contain a resolvable search path to the just built libcrypto. Setup LIBPATH to point to the build results. Fixes #29352. Signed-off-by: Matthias Kraft Reviewed-by: Simo Sorce Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/29375) (cherry picked from commit 576efc44ae00b58d6505df1f21cfa5cd3f58da9b) --- diff --git a/test/recipes/90-test_includes.t b/test/recipes/90-test_includes.t index 5ff61910c57..412bdf6115d 100644 --- a/test/recipes/90-test_includes.t +++ b/test/recipes/90-test_includes.t @@ -35,6 +35,9 @@ ok(run(test(["conf_include_test", "-f", data_file("incdir.cnf")])), "test inclu SKIP: { skip "Skipping legacy test", 1 if disabled("legacy"); + # Ensure libcrypto can be resolved for the legacy provider on AIX. + local $ENV{LIBPATH} = abs_path(bldtop_dir(".")) + if config('target') =~ m|^aix|; ok(run(test(["conf_include_test", "-providers", data_file("includes-prov-dir.cnf")])), "test directory includes with provider configs"); }