Enhance OpenSSL::Test::cmdstr to give cmd string variants
authorRichard Levitte <levitte@openssl.org>
Fri, 1 Apr 2016 13:05:52 +0000 (15:05 +0200)
committerRichard Levitte <levitte@openssl.org>
Sat, 2 Apr 2016 21:13:42 +0000 (23:13 +0200)
commitcb2ceb18f242bbc573c0e332f34b9ca42fc5f561
treeef413d5761460f16b46860d3f5c164182bd0463c
parentd3e6d6bcdfb725a57f94330367e7b752036c7a2c
Enhance OpenSSL::Test::cmdstr to give cmd string variants

Within OpenSSL::Test, all commands end up existing in two variants,
one that has redirections that are needed internally to work well
together with the test harness, and one without those redirections.

Depending on what the result is going to be used for, the caller may
want one for or the other, so we give them the possibility.

Reviewed-by: Rich Salz <rsalz@openssl.org>
test/testlib/OpenSSL/Test.pm