OpenSSL::Test: Move the command line quotifier
authorRichard Levitte <levitte@openssl.org>
Wed, 16 Jun 2021 08:18:20 +0000 (10:18 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 18 Jun 2021 07:08:16 +0000 (09:08 +0200)
commit1abcd1e858ea4b1e924bdd8141d55b889cc2fbc2
tree17a38289b710543920c43f73080554500fa8bcea
parenta205860404f219e4c07424ebe49b817bcaa6d488
OpenSSL::Test: Move the command line quotifier

The command line quotifier is more useful as a common utility, so it
gets moved to OpenSSL::Util, as the following two functions:

fixup_cmd_elements(), which is the generic command line reformatter
fixup_cmd(), which is like fixup_cmd_elements(), but treats the first
element specially where necessary (such as on VMS).

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15791)
util/perl/OpenSSL/Test.pm
util/perl/OpenSSL/Util.pm