comparison stream_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
94 94
95 my $d = $t->testdir(); 95 my $d = $t->testdir();
96 96
97 foreach my $name ('localhost') { 97 foreach my $name ('localhost') {
98 system('openssl req -x509 -new ' 98 system('openssl req -x509 -new '
99 . "-config '$d/openssl.conf' -subj '/CN=$name/' " 99 . "-config $d/openssl.conf -subj /CN=$name/ "
100 . "-out '$d/$name.crt' -keyout '$d/$name.key' " 100 . "-out $d/$name.crt -keyout $d/$name.key "
101 . ">>$d/openssl.out 2>&1") == 0 101 . ">>$d/openssl.out 2>&1") == 0
102 or die "Can't create certificate for $name: $!\n"; 102 or die "Can't create certificate for $name: $!\n";
103 } 103 }
104 104
105 $t->run(); 105 $t->run();