comparison stream_proxy_ssl_name_complex.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 8ef51dbb5d69
children 766bcbb632ee
comparison
equal deleted inserted replaced
1219:f373a718f646 1220:0af58b78df35
70 70
71 my $d = $t->testdir(); 71 my $d = $t->testdir();
72 72
73 foreach my $name ('localhost') { 73 foreach my $name ('localhost') {
74 system('openssl req -x509 -new ' 74 system('openssl req -x509 -new '
75 . "-config '$d/openssl.conf' -subj '/CN=$name/' " 75 . "-config $d/openssl.conf -subj /CN=$name/ "
76 . "-out '$d/$name.crt' -keyout '$d/$name.key' " 76 . "-out $d/$name.crt -keyout $d/$name.key "
77 . ">>$d/openssl.out 2>&1") == 0 77 . ">>$d/openssl.out 2>&1") == 0
78 or die "Can't create certificate for $name: $!\n"; 78 or die "Can't create certificate for $name: $!\n";
79 } 79 }
80 80
81 $t->try_run('no stream return')->plan(2); 81 $t->try_run('no stream return')->plan(2);