comparison h2_ssl_verify_client.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 8c764fd93b5e
comparison
equal deleted inserted replaced
1219:f373a718f646 1220:0af58b78df35
81 81
82 my $d = $t->testdir(); 82 my $d = $t->testdir();
83 83
84 foreach my $name ('localhost', 'client') { 84 foreach my $name ('localhost', 'client') {
85 system('openssl req -x509 -new ' 85 system('openssl req -x509 -new '
86 . "-config '$d/openssl.conf' -subj '/CN=$name/' " 86 . "-config $d/openssl.conf -subj /CN=$name/ "
87 . "-out '$d/$name.crt' -keyout '$d/$name.key' " 87 . "-out $d/$name.crt -keyout $d/$name.key "
88 . ">>$d/openssl.out 2>&1") == 0 88 . ">>$d/openssl.out 2>&1") == 0
89 or die "Can't create certificate for $name: $!\n"; 89 or die "Can't create certificate for $name: $!\n";
90 } 90 }
91 91
92 $t->write_file('t', 'SEE-THIS'); 92 $t->write_file('t', 'SEE-THIS');