Mercurial > hg > nginx-tests
diff proxy_cache_range.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 | b4d657ba1a62 |
children | 2cd00179f4b2 |
line wrap: on
line diff
--- a/proxy_cache_range.t +++ b/proxy_cache_range.t @@ -87,17 +87,12 @@ like(http_get_range('/t.html?1', 'Range: like(http_get_range('/t.html?1', 'Range: bytes=0-2,4-'), qr/^SEE.*^THIS/ms, 'cached multipart range'); -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.7.8'); - like(http_get_range('/min_uses/t.html?3', 'Range: bytes=4-'), qr/^THIS/m, 'range below min_uses'); like(http_get_range('/min_uses/t.html?4', 'Range: bytes=0-2,4-'), qr/^SEE.*^THIS/ms, 'multipart range below min_uses'); -} - like(`grep -F '[alert]' ${\($t->testdir())}/error.log`, qr/^$/s, 'no alerts'); ###############################################################################