提交 349232d1 编写于 作者: R Richard Levitte

OpenSSL::Test: have cmdstr() return the true command.

On the other hand, have run() display the display variant.
Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 d8a52304
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册