From 418bb7b31bb7cfca6e419a5aa7bf161784f61059 Mon Sep 17 00:00:00 2001 From: Rainer Jung Date: Thu, 25 May 2017 23:58:14 +0200 Subject: [PATCH] Fix use of "can_load()" in run_tests.pl. CLA: Trivial Fixes #3563. Reviewed-by: Andy Polyakov Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/3564) --- test/run_tests.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}; -- 2.34.1