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