diff not_modified_proxy.t @ 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 f758c780c508
children 3200d5b4ffa8
line wrap: on
line diff
--- a/not_modified_proxy.t
+++ b/not_modified_proxy.t
@@ -26,8 +26,11 @@ use Test::Nginx;
 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%%