Mercurial > hg > nginx-tests
changeset 674:2d10f958741d
Tests: adjusted todo_alerts() in not_modified_proxy.t.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 03 Sep 2015 15:57:01 +0300 |
parents | 9d6c865c2869 |
children | 42de9efd11ee |
files | not_modified_proxy.t |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/not_modified_proxy.t Wed Sep 02 19:03:24 2015 +0300 +++ b/not_modified_proxy.t Thu Sep 03 15:57:01 2015 +0300 @@ -26,8 +26,11 @@ select STDERR; $| = 1; select STDOUT; $| = 1; -my $t = Test::Nginx->new()->has(qw/http proxy cache shmem/)->plan(12) - ->write_file_expand('nginx.conf', <<'EOF')->todo_alerts(); +my $t = Test::Nginx->new()->has(qw/http proxy cache shmem/)->plan(12); + +$t->todo_alerts() unless $t->has_version('1.9.5'); + +$t->write_file_expand('nginx.conf', <<'EOF'); %%TEST_GLOBALS%%