mirror of
https://github.com/openssl/openssl.git
synced 2025-12-20 01:22:19 +08:00
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 <Matthias.Kraft@ibm.com>
Reviewed-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/29375)
(cherry picked from commit 576efc44ae)
This commit is contained in:
committed by
Tomas Mraz
parent
cda12de3bc
commit
62bd59b702
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user