Mercurial > hg > nginx-tests
comparison mail_smtp.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 | b714d6df958c |
children | 6a0d934950bc |
comparison
equal
deleted
inserted
replaced
165:fca70f483608 | 166:c0ae29632905 |
---|---|
32 ->run_daemon(\&Test::Nginx::SMTP::smtp_test_daemon) | 32 ->run_daemon(\&Test::Nginx::SMTP::smtp_test_daemon) |
33 ->write_file_expand('nginx.conf', <<'EOF')->run(); | 33 ->write_file_expand('nginx.conf', <<'EOF')->run(); |
34 | 34 |
35 %%TEST_GLOBALS%% | 35 %%TEST_GLOBALS%% |
36 | 36 |
37 master_process off; | |
38 daemon off; | 37 daemon off; |
39 | 38 |
40 events { | 39 events { |
41 } | 40 } |
42 | 41 |