Mercurial > hg > nginx-tests
comparison ssl.t @ 397:847ea345becb
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 05 May 2014 11:46:01 +0400 |
parents | de2f7e86866e |
children | a82b02635614 |
comparison
equal
deleted
inserted
replaced
396:5eb0df61f371 | 397:847ea345becb |
---|---|
27 }; | 27 }; |
28 plan(skip_all => 'IO::Socket::SSL not installed') if $@; | 28 plan(skip_all => 'IO::Socket::SSL not installed') if $@; |
29 | 29 |
30 my $t = Test::Nginx->new()->has(qw/http http_ssl rewrite/) | 30 my $t = Test::Nginx->new()->has(qw/http http_ssl rewrite/) |
31 ->has_daemon('openssl'); | 31 ->has_daemon('openssl'); |
32 | |
33 plan(skip_all => 'new syntax: "$ssl_session_reused"') | |
34 unless $t->has_version('1.5.11'); | |
35 | 32 |
36 $t->plan(4)->write_file_expand('nginx.conf', <<'EOF'); | 33 $t->plan(4)->write_file_expand('nginx.conf', <<'EOF'); |
37 | 34 |
38 %%TEST_GLOBALS%% | 35 %%TEST_GLOBALS%% |
39 | 36 |