comparison stream_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
comparison
equal deleted inserted replaced
1219:f373a718f646 1220:0af58b78df35
134 134
135 my $d = $t->testdir(); 135 my $d = $t->testdir();
136 136
137 foreach my $name ('1.example.com', '2.example.com') { 137 foreach my $name ('1.example.com', '2.example.com') {
138 system('openssl req -x509 -new ' 138 system('openssl req -x509 -new '
139 . "-config '$d/openssl.$name.conf' " 139 . "-config $d/openssl.$name.conf "
140 . "-out '$d/$name.crt' -keyout '$d/$name.key' " 140 . "-out $d/$name.crt -keyout $d/$name.key "
141 . ">>$d/openssl.out 2>&1") == 0 141 . ">>$d/openssl.out 2>&1") == 0
142 or die "Can't create certificate for $name: $!\n"; 142 or die "Can't create certificate for $name: $!\n";
143 } 143 }
144 144
145 $t->write_file('index.html', ''); 145 $t->write_file('index.html', '');