TESTS: drop explicit quotes from empty command line arguments
authorRichard Levitte <levitte@openssl.org>
Fri, 18 Jun 2021 06:16:13 +0000 (08:16 +0200)
committerPauli <pauli@openssl.org>
Sun, 20 Jun 2021 02:53:43 +0000 (12:53 +1000)
commita1a62437e96ce4c1ba807e99a8231560f4ba59ef
treebd08786481c859f7d19225943901d3a0573771eb
parentf53c079fa55e477a48b0a891af4ee20e24e15fd7
TESTS: drop explicit quotes from empty command line arguments

Depending on circumstances, something like this:

    ok(run(app(['openssl', 'whatever', '-config', '""', ...])))

might end up with a command like this:

    ./util/wrap.pl apps/openssl whatever -config '""'

Simply use an empty string (i.e. '' instead of '""') and let the
command line fixup functions do their job.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15822)
test/recipes/25-test_req.t
test/recipes/81-test_cmp_cli.t