comparison ssl_sni_reneg.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 1a54d45d5587
children 09c2291b2bab
comparison
equal deleted inserted replaced
1219:f373a718f646 1220:0af58b78df35
77 77
78 my $d = $t->testdir(); 78 my $d = $t->testdir();
79 79
80 foreach my $name ('localhost') { 80 foreach my $name ('localhost') {
81 system('openssl req -x509 -new ' 81 system('openssl req -x509 -new '
82 . "-config '$d/openssl.conf' -subj '/CN=$name/' " 82 . "-config $d/openssl.conf -subj /CN=$name/ "
83 . "-out '$d/$name.crt' -keyout '$d/$name.key' " 83 . "-out $d/$name.crt -keyout $d/$name.key "
84 . ">>$d/openssl.out 2>&1") == 0 84 . ">>$d/openssl.out 2>&1") == 0
85 or die "Can't create certificate for $name: $!\n"; 85 or die "Can't create certificate for $name: $!\n";
86 } 86 }
87 87
88 $t->run(); 88 $t->run();