comparison mp4.t @ 1693:5ac6efbe5552

Tests: removed TODO and try_run() checks for legacy versions.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 01 Jun 2021 16:40:18 +0300
parents 8659123d2d37
children
comparison
equal deleted inserted replaced
1692:f6795e2e6a4b 1693:5ac6efbe5552
115 115
116 $test_uri = '/no_mdat.mp4', goto again unless $test_uri eq '/no_mdat.mp4'; 116 $test_uri = '/no_mdat.mp4', goto again unless $test_uri eq '/no_mdat.mp4';
117 117
118 # corrupted formats 118 # corrupted formats
119 119
120 TODO: {
121 local $TODO = 'not yet' unless $t->has_version('1.17.9');
122
123 like(http_get("/bad.mp4?start=0.5"), qr/500 Internal/, 'co64 chunk beyond EOF'); 120 like(http_get("/bad.mp4?start=0.5"), qr/500 Internal/, 'co64 chunk beyond EOF');
124
125 }
126
127 $t->todo_alerts() if $t->read_file('nginx.conf') =~ /sendfile on/
128 and !$t->has_version('1.17.9');
129 121
130 ############################################################################### 122 ###############################################################################
131 123
132 sub durations { 124 sub durations {
133 my ($t, $start, $end) = @_; 125 my ($t, $start, $end) = @_;