Mercurial > hg > nginx-tests
comparison mail_error_log.t @ 1020:196d33c2bb45
Tests: removed TODO and try_run() checks for legacy versions.
Also removed now unused spdy.t and shmem prerequisite.
author | Andrey Zelenkov <zelenkov@nginx.com> |
---|---|
date | Wed, 31 Aug 2016 18:21:07 +0300 |
parents | a8b8dd6e8ae1 |
children | e4974af3fb12 |
comparison
equal
deleted
inserted
replaced
1019:41139d6f8b7b | 1020:196d33c2bb45 |
---|---|
26 select STDOUT; $| = 1; | 26 select STDOUT; $| = 1; |
27 | 27 |
28 plan(skip_all => 'win32') if $^O eq 'MSWin32'; | 28 plan(skip_all => 'win32') if $^O eq 'MSWin32'; |
29 | 29 |
30 my $t = Test::Nginx->new()->has(qw/mail imap http rewrite/); | 30 my $t = Test::Nginx->new()->has(qw/mail imap http rewrite/); |
31 | |
32 plan(skip_all => 'no error_log') unless $t->has_version('1.9.0'); | |
33 | 31 |
34 $t->plan(30)->write_file_expand('nginx.conf', <<'EOF'); | 32 $t->plan(30)->write_file_expand('nginx.conf', <<'EOF'); |
35 | 33 |
36 %%TEST_GLOBALS%% | 34 %%TEST_GLOBALS%% |
37 | 35 |