recipes/80-test_ca.t: make it work with spaces in pathnames.

Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
Andy Polyakov 2017-08-02 23:28:34 +02:00
parent ddc6a5c8f5
commit fbf9d108df

View File

@ -46,7 +46,7 @@ plan tests => 5;
skip "CT not configured, can't use -precert", 1
if disabled("ct");
$ENV{OPENSSL_CONFIG} = "-config ".srctop_file("test", "Uss.cnf");
$ENV{OPENSSL_CONFIG} = '-config "'.srctop_file("test", "Uss.cnf").'"';
ok(run(perlapp(["CA.pl", "-precert"], stderr => undef)),
'creating new pre-certificate');
}