mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
Fix use of "can_load()" in run_tests.pl.
CLA: Trivial Fixes #3563. Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3564)
This commit is contained in:
parent
e3d378bcf1
commit
418bb7b31b
@ -19,7 +19,7 @@ use File::Basename;
|
||||
use if $^O ne "VMS", 'File::Glob' => qw/glob/;
|
||||
use Module::Load::Conditional qw(can_load);
|
||||
|
||||
my $TAP_Harness = can_load({modules => [ 'TAP::Harness' ]})
|
||||
my $TAP_Harness = can_load(modules => { 'TAP::Harness' => undef })
|
||||
? 'TAP::Harness' : 'OpenSSL::TAP::Harness';
|
||||
|
||||
my $srctop = $ENV{SRCTOP} || $ENV{TOP};
|
||||
|
Loading…
Reference in New Issue
Block a user