diff --git a/test/testlib/OpenSSL/Test.pm b/test/testlib/OpenSSL/Test.pm index 53a15c4fa590cc661700fba01db1f0243f845118..b0a609fd4d3e382ba625499ef8e095bab130e5a2 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