Mercurial > hg > nginx-tests
diff ssl_engine_keys.t @ 1220:0af58b78df35
Tests: removed single quotes from system() calls.
Single quotes were used to escape paths with spaces but are neither supported
in the Windows CMD shell, nor sufficient without proper %%TESTDIR%% expansion.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 20 Sep 2017 14:46:51 +0300 |
parents | 778eae8230e4 |
children | a682c219af45 |
line wrap: on
line diff
--- a/ssl_engine_keys.t +++ b/ssl_engine_keys.t @@ -112,8 +112,8 @@ foreach my $name ('localhost') { . ">>$d/openssl.out 2>&1"); system('openssl req -x509 -new -engine pkcs11 ' - . "-config '$d/openssl.conf' -subj '/CN=$name/' " - . "-out '$d/$name.crt' -keyform engine -text -key id_00 " + . "-config $d/openssl.conf -subj /CN=$name/ " + . "-out $d/$name.crt -keyform engine -text -key id_00 " . ">>$d/openssl.out 2>&1") == 0 or die "Can't create certificate for $name: $!\n"; }