diff options
author | Rainer Jung <rainer.jung@kippdata.de> | 2017-05-25 23:58:14 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-05-26 11:25:07 +0200 |
commit | 418bb7b31bb7cfca6e419a5aa7bf161784f61059 (patch) | |
tree | d9c668ad5e6dc2ab180105f4a29f780da0173d91 /test/run_tests.pl | |
parent | e3d378bcf1324fb6958366f21539e1e0533225f1 (diff) | |
download | openssl-new-418bb7b31bb7cfca6e419a5aa7bf161784f61059.tar.gz |
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)
Diffstat (limited to 'test/run_tests.pl')
-rw-r--r-- | test/run_tests.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run_tests.pl b/test/run_tests.pl index a04fd98a0a..a91d761900 100644 --- a/test/run_tests.pl +++ b/test/run_tests.pl @@ -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}; |