comparison proxy_cache_range.t @ 397:847ea345becb

Tests: removed TODO and try_run() checks for legacy versions.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 05 May 2014 11:46:01 +0400
parents 30364c578416
children b4d657ba1a62
comparison
equal deleted inserted replaced
396:5eb0df61f371 397:847ea345becb
64 $t->write_file('t.html', 'SEE-THIS'); 64 $t->write_file('t.html', 'SEE-THIS');
65 $t->run(); 65 $t->run();
66 66
67 ############################################################################### 67 ###############################################################################
68 68
69 {
70 local $TODO = 'not yet' unless $t->has_version('1.5.13');
71
72 like(http_get_range('/t.html?1', 'Range: bytes=4-'), qr/^THIS/m, 69 like(http_get_range('/t.html?1', 'Range: bytes=4-'), qr/^THIS/m,
73 'range on first request'); 70 'range on first request');
74 }
75 71
76 { 72 {
77 local $TODO = 'not yet'; 73 local $TODO = 'not yet';
78 74
79 like(http_get_range('/t.html?2', 'Range: bytes=0-2,4-'), qr/^SEE.*^THIS/ms, 75 like(http_get_range('/t.html?2', 'Range: bytes=0-2,4-'), qr/^SEE.*^THIS/ms,