TEST: add util/wrap.pl and use it
authorRichard Levitte <levitte@openssl.org>
Mon, 17 Feb 2020 14:05:04 +0000 (15:05 +0100)
committerRichard Levitte <levitte@openssl.org>
Thu, 27 Feb 2020 07:49:14 +0000 (08:49 +0100)
commit285e2991af23974761b9497f1e2a3396aa4bc440
treef0f66fcc5e05381bb4fbfc965fad9a7ddb4f00d7
parentf33ca114c1f8a1ea07948fec6e175806d69274ef
TEST: add util/wrap.pl and use it

util/wrap.pl is a script that defines the environment variables
OPENSSL_ENGINES and OPENSSL_MODULES, then calls the command line
that's given as its arguments.

On a POSIX platform, the command line call is done via
util/shlib_wrap.sh to ensure that the shared library paths are
correct.  For other platforms, util/wrap.pl currently assumes that
similar things are already in place through other means.

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/11110)
util/perl/OpenSSL/Test.pm
util/wrap.pl [new file with mode: 0755]