projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8a5230
)
OpenSSL::Test: have cmdstr() return the true command.
author
Richard Levitte
<levitte@openssl.org>
Thu, 31 Mar 2016 13:08:34 +0000
(15:08 +0200)
committer
Richard Levitte
<levitte@openssl.org>
Thu, 31 Mar 2016 17:54:37 +0000
(19:54 +0200)
On the other hand, have run() display the display variant.
Reviewed-by: Rich Salz <rsalz@openssl.org>
test/testlib/OpenSSL/Test.pm
patch
|
blob
|
history
diff --git
a/test/testlib/OpenSSL/Test.pm
b/test/testlib/OpenSSL/Test.pm
index 53a15c4fa590cc661700fba01db1f0243f845118..b0a609fd4d3e382ba625499ef8e095bab130e5a2 100644
(file)
--- 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