comparison proxy_cache_range.t @ 1022:616e682e4ca5

Tests: proxy_cache_range.t TODO adjusted.
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 02 Sep 2016 12:49:01 +0300
parents 196d33c2bb45
children efccab043dd3
comparison
equal deleted inserted replaced
1021:ebdf239722b9 1022:616e682e4ca5
100 like(http_get_range('/min_uses/t.html?4', 'Range: bytes=0-2,4-'), 100 like(http_get_range('/min_uses/t.html?4', 'Range: bytes=0-2,4-'),
101 qr/^SEE.*^THIS/ms, 'multipart range below min_uses'); 101 qr/^SEE.*^THIS/ms, 'multipart range below min_uses');
102 102
103 TODO: { 103 TODO: {
104 local $TODO = 'not yet' if $t->read_file('nginx.conf') =~ /sendfile on/ 104 local $TODO = 'not yet' if $t->read_file('nginx.conf') =~ /sendfile on/
105 and $t->read_file('nginx.conf') =~ /aio threads/ and $^O eq 'linux'; 105 and $t->read_file('nginx.conf') =~ /aio threads/ and $^O eq 'linux'
106 and !$t->has_version('1.11.4');
106 107
107 like(http_get_range('/tbig.html?s=1', 'Range: bytes=0-19'), 108 like(http_get_range('/tbig.html?s=1', 'Range: bytes=0-19'),
108 qr/^XX000001XXXX000002XX$/ms, 'range of response received in parts'); 109 qr/^XX000001XXXX000002XX$/ms, 'range of response received in parts');
109 110
110 } 111 }