From: Richard Levitte Date: Tue, 29 Mar 2016 17:43:33 +0000 (+0200) Subject: When verbosity is requested, OpenSSL::Test::run() displays the command X-Git-Tag: OpenSSL_1_1_0-pre5~190 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3eefcea116b8143e99fbd9681ef8e364113c2d23;p=oweals%2Fopenssl.git When verbosity is requested, OpenSSL::Test::run() displays the command It displays the command's exit code as well. Reviewed-by: Emilia Käsper --- diff --git a/test/testlib/OpenSSL/Test.pm b/test/testlib/OpenSSL/Test.pm index c0471f918b..c2b9f5c589 100644 --- a/test/testlib/OpenSSL/Test.pm +++ b/test/testlib/OpenSSL/Test.pm @@ -354,6 +354,9 @@ sub run { $r = $hooks{exit_checker}->($e); } + print STDERR "$prefix$cmd => $e\n" + if !$ENV{HARNESS_ACTIVE} || $ENV{HARNESS_VERBOSE}; + # At this point, $? stops being interesting, and unfortunately, # there are Test::More versions that get picky if we leave it # non-zero.