Mercurial > hg > nginx-tests
comparison syslog.t @ 568:907e89fba9c3
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Sun, 03 May 2015 12:45:09 +0300 |
parents | 34280f6b0bc6 |
children | abe795720deb |
comparison
equal
deleted
inserted
replaced
567:22bade4c7e12 | 568:907e89fba9c3 |
---|---|
23 select STDOUT; $| = 1; | 23 select STDOUT; $| = 1; |
24 | 24 |
25 plan(skip_all => 'win32') if $^O eq 'MSWin32'; | 25 plan(skip_all => 'win32') if $^O eq 'MSWin32'; |
26 | 26 |
27 my $t = Test::Nginx->new()->has(qw/http limit_req/); | 27 my $t = Test::Nginx->new()->has(qw/http limit_req/); |
28 | |
29 plan(skip_all => 'no syslog if') unless $t->has_version('1.7.5'); | |
30 | 28 |
31 $t->plan(58)->write_file_expand('nginx.conf', <<'EOF'); | 29 $t->plan(58)->write_file_expand('nginx.conf', <<'EOF'); |
32 | 30 |
33 %%TEST_GLOBALS%% | 31 %%TEST_GLOBALS%% |
34 | 32 |