Mercurial > hg > nginx-tests
comparison ssl_password_file.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 | d13ea470657d |
children | 4765f3981d91 |
comparison
equal
deleted
inserted
replaced
567:22bade4c7e12 | 568:907e89fba9c3 |
---|---|
32 | 32 |
33 plan(skip_all => 'win32') if $^O eq 'MSWin32'; | 33 plan(skip_all => 'win32') if $^O eq 'MSWin32'; |
34 | 34 |
35 my $t = Test::Nginx->new()->has(qw/http http_ssl rewrite/) | 35 my $t = Test::Nginx->new()->has(qw/http http_ssl rewrite/) |
36 ->has_daemon('openssl'); | 36 ->has_daemon('openssl'); |
37 | |
38 plan(skip_all => 'no ssl_password_file') unless $t->has_version('1.7.2'); | |
39 | 37 |
40 $t->plan(3)->write_file_expand('nginx.conf', <<'EOF'); | 38 $t->plan(3)->write_file_expand('nginx.conf', <<'EOF'); |
41 | 39 |
42 %%TEST_GLOBALS%% | 40 %%TEST_GLOBALS%% |
43 | 41 |