summaryrefslogtreecommitdiffstats
path: root/test/testlib
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-03-31 15:08:34 +0200
committerRichard Levitte <levitte@openssl.org>2016-03-31 19:54:37 +0200
commit349232d149804dae09987af7612000e30ee7c4cc (patch)
tree0342d96489c01ed1e9ec24e58e9c40a965e0c5ce /test/testlib
parentd8a52304ae704edb6a5619b6a1604821b75bee50 (diff)
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>
Diffstat (limited to 'test/testlib')
-rw-r--r--test/testlib/OpenSSL/Test.pm4
1 files 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