comparison proxy_ssl_name.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 fcd65708672d
children dbce8fb5f5f8
comparison
equal deleted inserted replaced
1219:f373a718f646 1220:0af58b78df35
124 124
125 my $d = $t->testdir(); 125 my $d = $t->testdir();
126 126
127 foreach my $name ('localhost') { 127 foreach my $name ('localhost') {
128 system('openssl req -x509 -new ' 128 system('openssl req -x509 -new '
129 . "-config '$d/openssl.conf' -subj '/commonName=$name/' " 129 . "-config $d/openssl.conf -subj /commonName=$name/ "
130 . "-out '$d/$name.crt' -keyout '$d/$name.key' " 130 . "-out $d/$name.crt -keyout $d/$name.key "
131 . ">>$d/openssl.out 2>&1") == 0 131 . ">>$d/openssl.out 2>&1") == 0
132 or die "Can't create certificate for $name: $!\n"; 132 or die "Can't create certificate for $name: $!\n";
133 } 133 }
134 134
135 $t->write_file('index.html', ''); 135 $t->write_file('index.html', '');