Mercurial > hg > nginx-tests
comparison mail_smtp_greeting_delay.t @ 166:c0ae29632905
Tests: nuke "master_process off;" usage.
It's not really suitable for automatic testing due to number of reasons:
it doesn't check for open sockets left on exit, it uses racy signal handling,
it doesn't at all works on Windows.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 17 Aug 2011 15:17:30 +0400 |
parents | b5d0fcb02980 |
children | 6a0d934950bc |
comparison
equal
deleted
inserted
replaced
165:fca70f483608 | 166:c0ae29632905 |
---|---|
25 my $t = Test::Nginx->new()->has(qw/mail smtp http/)->plan(2) | 25 my $t = Test::Nginx->new()->has(qw/mail smtp http/)->plan(2) |
26 ->write_file_expand('nginx.conf', <<'EOF')->run(); | 26 ->write_file_expand('nginx.conf', <<'EOF')->run(); |
27 | 27 |
28 %%TEST_GLOBALS%% | 28 %%TEST_GLOBALS%% |
29 | 29 |
30 master_process off; | |
31 daemon off; | 30 daemon off; |
32 | 31 |
33 events { | 32 events { |
34 } | 33 } |
35 | 34 |