Mercurial > hg > nginx-tests
diff mp4.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 | 7a65ebfdb02e |
children | 6c0a5903d0ae |
line wrap: on
line diff
--- a/mp4.t +++ b/mp4.t @@ -66,9 +66,6 @@ is(durations($t, 0.0), '10.0 20.0', 'sta is(durations($t, 2), '8.0 18.0', 'start integer'); is(durations($t, 7.1), '2.9 12.9', 'start float'); -SKIP: { -skip 'no end argument support', 8 unless $t->has_version('1.5.13'); - is(durations($t, 6, 9), '3.0 3.0', 'start end integer'); is(durations($t, 2.7, 5.6), '2.9 2.9', 'start end float'); @@ -85,17 +82,8 @@ like(http_head('/test.mp4?start=1&end=0' unlike(http_head("/test.mp4?end=11"), qr!HTTP/1.1 500!, 'end beyond short track'); unlike(http_head("/test.mp4?end=21"), qr!HTTP/1.1 500!, 'end beyond EOF'); - -} - -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.5.10'); - unlike(http_head("/test.mp4?start=11"), qr!HTTP/1.1 500!, 'start beyond short track'); - -} - like(http_head("/test.mp4?start=21"), qr!HTTP/1.1 500!, 'start beyond EOF'); # check for alerts, e.g., "zero buf in output", shouldn't be any