Mercurial > hg > nginx-tests
comparison proxy_ssl_certificate.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 | d4330871bfb0 |
children | 02bb93aebaa5 |
comparison
equal
deleted
inserted
replaced
567:22bade4c7e12 | 568:907e89fba9c3 |
---|---|
22 | 22 |
23 select STDERR; $| = 1; | 23 select STDERR; $| = 1; |
24 select STDOUT; $| = 1; | 24 select STDOUT; $| = 1; |
25 | 25 |
26 my $t = Test::Nginx->new()->has(qw/http http_ssl proxy/) | 26 my $t = Test::Nginx->new()->has(qw/http http_ssl proxy/) |
27 ->has_daemon('openssl'); | 27 ->has_daemon('openssl')->plan(5); |
28 | 28 |
29 plan(skip_all => 'no proxy_ssl_password_file') unless $t->has_version('1.7.8'); | 29 $t->write_file_expand('nginx.conf', <<'EOF'); |
30 | |
31 $t->plan(5)->write_file_expand('nginx.conf', <<'EOF'); | |
32 | 30 |
33 %%TEST_GLOBALS%% | 31 %%TEST_GLOBALS%% |
34 | 32 |
35 daemon off; | 33 daemon off; |
36 | 34 |