Mercurial > hg > nginx-tests
comparison mp4.t @ 1556:3ff92feb99d1
Tests: todo_alerts() with sendfile for added mp4 overflow test.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Sun, 15 Mar 2020 21:43:04 +0300 |
parents | 809d67d48d21 |
children | 8659123d2d37 |
comparison
equal
deleted
inserted
replaced
1555:809d67d48d21 | 1556:3ff92feb99d1 |
---|---|
122 | 122 |
123 like(http_get("/bad.mp4?start=0.5"), qr/500 Internal/, 'co64 chunk beyond EOF'); | 123 like(http_get("/bad.mp4?start=0.5"), qr/500 Internal/, 'co64 chunk beyond EOF'); |
124 | 124 |
125 } | 125 } |
126 | 126 |
127 $t->todo_alerts() if $t->read_file('nginx.conf') =~ /sendfile on/ | |
128 and !$t->has_version('1.17.9'); | |
129 | |
127 ############################################################################### | 130 ############################################################################### |
128 | 131 |
129 sub durations { | 132 sub durations { |
130 my ($t, $start, $end) = @_; | 133 my ($t, $start, $end) = @_; |
131 my $path = $t->{_testdir} . '/frag.mp4'; | 134 my $path = $t->{_testdir} . '/frag.mp4'; |