Mercurial > hg > nginx-tests
comparison mp4.t @ 389:c24d1c0b4c73
Tests: fixed invocation of has_daemon().
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 08 Apr 2014 19:31:14 +0400 |
parents | 3d4506565f43 |
children | 7a65ebfdb02e |
comparison
equal
deleted
inserted
replaced
388:3d4506565f43 | 389:c24d1c0b4c73 |
---|---|
21 ############################################################################### | 21 ############################################################################### |
22 | 22 |
23 select STDERR; $| = 1; | 23 select STDERR; $| = 1; |
24 select STDOUT; $| = 1; | 24 select STDOUT; $| = 1; |
25 | 25 |
26 my $t = Test::Nginx->new()->has(qw/http mp4/)->has_daemon('ffprobe ffmpeg') | 26 my $t = Test::Nginx->new()->has(qw/http mp4/)->has_daemon('ffprobe') |
27 ->has_daemon('ffmpeg') | |
27 ->plan(14)->write_file_expand('nginx.conf', <<'EOF'); | 28 ->plan(14)->write_file_expand('nginx.conf', <<'EOF'); |
28 | 29 |
29 %%TEST_GLOBALS%% | 30 %%TEST_GLOBALS%% |
30 | 31 |
31 daemon off; | 32 daemon off; |