From 3eefcea116b8143e99fbd9681ef8e364113c2d23 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 29 Mar 2016 19:43:33 +0200 Subject: When verbosity is requested, OpenSSL::Test::run() displays the command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It displays the command's exit code as well. Reviewed-by: Emilia Käsper --- test/testlib/OpenSSL/Test.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') 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. -- cgit v1.2.3