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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue