summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2021-09-07 12:48:52 +0200
committerRichard Levitte <levitte@openssl.org>2021-09-08 16:36:35 +0200
commit03943ae71dfd1ac37cb9675197ea59cc2718f099 (patch)
tree4966ca41e5a8c64cf190abae93bd457ecfa990df
parentced5078399bc0249d2b28df4f51ec34abd022b7f (diff)
Fix test/recipes/90-test_fipsload.t to use bldtop_file for the FIPS module
It used bldtop_dir(), which is incorrect for files. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16532) (cherry picked from commit c6ee5d5b42e27b407dfc1fc8845e08c5a75e2221)
-rw-r--r--test/recipes/90-test_fipsload.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/recipes/90-test_fipsload.t b/test/recipes/90-test_fipsload.t
index 9aa39da0e4..7537e2cb75 100644
--- a/test/recipes/90-test_fipsload.t
+++ b/test/recipes/90-test_fipsload.t
@@ -6,7 +6,7 @@
# in the file LICENSE in the source distribution or at
# https://www.openssl.org/source/license.html
-use OpenSSL::Test qw/:DEFAULT srctop_dir bldtop_dir/;
+use OpenSSL::Test qw/:DEFAULT srctop_dir bldtop_dir bldtop_file/;
use OpenSSL::Test::Utils;
BEGIN {
@@ -25,7 +25,7 @@ plan skip_all => 'Test is disabled in an address sanitizer build' unless disable
plan tests => 1;
-my $fips = bldtop_dir('providers', platform->dso('fips'));
+my $fips = bldtop_file('providers', platform->dso('fips'));
ok(run(test(['moduleloadtest', $fips, 'OSSL_provider_init'])),
"trying to load $fips in its own");