Mercurial > hg > nginx-tests
diff proxy_ssl_verify.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 | 882267679006 |
children | eadd24ccfda1 |
line wrap: on
line diff
--- a/proxy_ssl_verify.t Mon Sep 11 20:06:15 2017 +0300 +++ b/proxy_ssl_verify.t Wed Sep 20 14:46:51 2017 +0300 @@ -136,8 +136,8 @@ foreach my $name ('1.example.com', '2.example.com') { system('openssl req -x509 -new ' - . "-config '$d/openssl.$name.conf' " - . "-out '$d/$name.crt' -keyout '$d/$name.key' " + . "-config $d/openssl.$name.conf " + . "-out $d/$name.crt -keyout $d/$name.key " . ">>$d/openssl.out 2>&1") == 0 or die "Can't create certificate for $name: $!\n"; }