Mercurial > hg > nginx-tests
comparison http_server_name.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 | cfb8147f19a7 |
comparison
equal
deleted
inserted
replaced
165:fca70f483608 | 166:c0ae29632905 |
---|---|
24 my $t = Test::Nginx->new()->has(qw/http rewrite/)->plan(9) | 24 my $t = Test::Nginx->new()->has(qw/http rewrite/)->plan(9) |
25 ->write_file_expand('nginx.conf', <<'EOF'); | 25 ->write_file_expand('nginx.conf', <<'EOF'); |
26 | 26 |
27 %%TEST_GLOBALS%% | 27 %%TEST_GLOBALS%% |
28 | 28 |
29 master_process off; | |
30 daemon off; | 29 daemon off; |
31 | 30 |
32 events { | 31 events { |
33 } | 32 } |
34 | 33 |