Mercurial > hg > nginx-tests
diff proxy_cache.t @ 1020:196d33c2bb45
Tests: removed TODO and try_run() checks for legacy versions.
Also removed now unused spdy.t and shmem prerequisite.
author | Andrey Zelenkov <zelenkov@nginx.com> |
---|---|
date | Wed, 31 Aug 2016 18:21:07 +0300 |
parents | 882267679006 |
children |
line wrap: on
line diff
--- a/proxy_cache.t +++ b/proxy_cache.t @@ -21,7 +21,7 @@ use Test::Nginx qw/ :DEFAULT :gzip /; select STDERR; $| = 1; select STDOUT; $| = 1; -my $t = Test::Nginx->new()->has(qw/http proxy cache gzip shmem/)->plan(15) +my $t = Test::Nginx->new()->has(qw/http proxy cache gzip/)->plan(15) ->write_file_expand('nginx.conf', <<'EOF'); %%TEST_GLOBALS%% @@ -126,14 +126,8 @@ EOF my $r = http_get('/t.html', socket => $s); like($r, qr/Connection: keep-alive/, 'non-cacheable head - keepalive'); - -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.9.13'); - like($r, qr/SEE-THIS/, 'non-cacheable head - second'); -} - ############################################################################### sub http_get_range {