OpenSSL::Test: have cmdstr() return the true command.
On the other hand, have run() display the display variant. Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
d8a52304ae
commit
349232d149
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user