Mercurial > hg > nginx-tests
diff mp4.t @ 593:6c0a5903d0ae
Tests: cleanup now duplicating tests for no alerts.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 27 May 2015 17:09:22 +0300 |
parents | 847ea345becb |
children | 3021b44d0594 |
line wrap: on
line diff
--- a/mp4.t +++ b/mp4.t @@ -58,7 +58,7 @@ system('ffmpeg -loglevel quiet -y ' . "${\($t->testdir())}/test.mp4") == 0 or die "Can't create mp4 file: $!"; -$t->run()->plan(14); +$t->run()->plan(13); ############################################################################### @@ -86,10 +86,6 @@ unlike(http_head("/test.mp4?start=11"), '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 - -like(`grep -F '[alert]' ${\($t->testdir())}/error.log`, qr/^$/s, 'no alerts'); - ############################################################################### sub durations {