Mercurial > hg > nginx-tests
comparison mp4.t @ 1251:766bcbb632ee
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 24 Nov 2017 19:58:40 +0300 |
parents | 0179c2dcbab8 |
children | 1923461981c9 |
comparison
equal
deleted
inserted
replaced
1250:b708848eb49a | 1251:766bcbb632ee |
---|---|
81 | 81 |
82 is(durations($t, 6, 9), '3.0 3.0', 'start end integer'); | 82 is(durations($t, 6, 9), '3.0 3.0', 'start end integer'); |
83 is(durations($t, 2.7, 5.6), '2.9 2.9', 'start end float'); | 83 is(durations($t, 2.7, 5.6), '2.9 2.9', 'start end float'); |
84 | 84 |
85 is(durations($t, undef, 9), '9.0 9.0', 'end integer'); | 85 is(durations($t, undef, 9), '9.0 9.0', 'end integer'); |
86 | |
87 TODO: { | |
88 local $TODO = 'not yet' | |
89 if $Config{myarchname} =~ /i.86/ && $t->has_module('built by gcc [56]') | |
90 and !$t->has_version('1.11.6'); | |
91 | |
92 is(durations($t, undef, 5.6), '5.6 5.6', 'end float'); | 86 is(durations($t, undef, 5.6), '5.6 5.6', 'end float'); |
93 | |
94 } | |
95 | 87 |
96 # invalid range results in ignoring end argument | 88 # invalid range results in ignoring end argument |
97 | 89 |
98 like(http_head("$test_uri?start=1&end=1"), qr/200 OK/, 'zero range'); | 90 like(http_head("$test_uri?start=1&end=1"), qr/200 OK/, 'zero range'); |
99 like(http_head("$test_uri?start=1&end=0"), qr/200 OK/, 'negative range'); | 91 like(http_head("$test_uri?start=1&end=0"), qr/200 OK/, 'negative range'); |