Mercurial > hg > nginx-tests
comparison proxy_ssl_verify.t @ 568:907e89fba9c3
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Sun, 03 May 2015 12:45:09 +0300 |
parents | 3c9aeeb09ac8 |
children | e9064d691790 |
comparison
equal
deleted
inserted
replaced
567:22bade4c7e12 | 568:907e89fba9c3 |
---|---|
21 | 21 |
22 select STDERR; $| = 1; | 22 select STDERR; $| = 1; |
23 select STDOUT; $| = 1; | 23 select STDOUT; $| = 1; |
24 | 24 |
25 my $t = Test::Nginx->new()->has(qw/http http_ssl proxy/) | 25 my $t = Test::Nginx->new()->has(qw/http http_ssl proxy/) |
26 ->has_daemon('openssl') | 26 ->has_daemon('openssl')->plan(6) |
27 ->write_file_expand('nginx.conf', <<'EOF'); | 27 ->write_file_expand('nginx.conf', <<'EOF'); |
28 | 28 |
29 %%TEST_GLOBALS%% | 29 %%TEST_GLOBALS%% |
30 | 30 |
31 daemon off; | 31 daemon off; |
142 or die "Can't create certificate for $name: $!\n"; | 142 or die "Can't create certificate for $name: $!\n"; |
143 } | 143 } |
144 | 144 |
145 $t->write_file('index.html', ''); | 145 $t->write_file('index.html', ''); |
146 | 146 |
147 $t->try_run('no proxy_ssl_verify')->plan(6); | 147 $t->run(); |
148 | 148 |
149 ############################################################################### | 149 ############################################################################### |
150 | 150 |
151 # subjectAltName | 151 # subjectAltName |
152 | 152 |