Mercurial > hg > nginx-tests
changeset 382:30364c578416
Tests: adjusted TODO for single range not-yet-cached requests.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 24 Mar 2014 12:27:43 +0400 |
parents | 056d0ad0ef03 |
children | 4e0e795e0019 |
files | proxy_cache_range.t |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/proxy_cache_range.t +++ b/proxy_cache_range.t @@ -67,10 +67,15 @@ EOF ############################################################################### { -local $TODO = 'not yet'; +local $TODO = 'not yet' unless $t->has_version('1.5.13'); like(http_get_range('/t.html?1', 'Range: bytes=4-'), qr/^THIS/m, 'range on first request'); +} + +{ +local $TODO = 'not yet'; + like(http_get_range('/t.html?2', 'Range: bytes=0-2,4-'), qr/^SEE.*^THIS/ms, 'multipart range on first request'); }