comparison upstream_zone_ssl.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 155573499f20
children 0defcc1c87ab
comparison
equal deleted inserted replaced
1219:f373a718f646 1220:0af58b78df35
99 99
100 my $d = $t->testdir(); 100 my $d = $t->testdir();
101 101
102 foreach my $name ('localhost') { 102 foreach my $name ('localhost') {
103 system('openssl req -x509 -new ' 103 system('openssl req -x509 -new '
104 . "-config '$d/openssl.conf' -subj '/CN=$name/' " 104 . "-config $d/openssl.conf -subj /CN=$name/ "
105 . "-out '$d/$name.crt' -keyout '$d/$name.key' " 105 . "-out $d/$name.crt -keyout $d/$name.key "
106 . ">>$d/openssl.out 2>&1") == 0 106 . ">>$d/openssl.out 2>&1") == 0
107 or die "Can't create certificate for $name: $!\n"; 107 or die "Can't create certificate for $name: $!\n";
108 } 108 }
109 109
110 $t->run(); 110 $t->run();