From 349232d149804dae09987af7612000e30ee7c4cc Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 31 Mar 2016 15:08:34 +0200 Subject: [PATCH] OpenSSL::Test: have cmdstr() return the true command. On the other hand, have run() display the display variant. Reviewed-by: Rich Salz --- test/testlib/OpenSSL/Test.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/testlib/OpenSSL/Test.pm b/test/testlib/OpenSSL/Test.pm index 53a15c4fa5..b0a609fd4d 100644 --- a/test/testlib/OpenSSL/Test.pm +++ b/test/testlib/OpenSSL/Test.pm @@ -354,7 +354,7 @@ sub run { $r = $hooks{exit_checker}->($e); } - print STDERR "$prefix$cmd => $e\n" + print STDERR "$prefix$display_cmd => $e\n" if !$ENV{HARNESS_ACTIVE} || $ENV{HARNESS_VERBOSE}; # At this point, $? stops being interesting, and unfortunately, @@ -560,7 +560,7 @@ command as a string. sub cmdstr { my ($cmd, $display_cmd) = shift->(0); - return $display_cmd; + return $cmd; } =over 4 -- 2.25.1