Mercurial > hg > nginx-tests
comparison fastcgi_cache.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 | a7cc4371f4ad |
comparison
equal
deleted
inserted
replaced
165:fca70f483608 | 166:c0ae29632905 |
---|---|
27 my $t = Test::Nginx->new()->has(qw/http fastcgi cache/)->plan(5) | 27 my $t = Test::Nginx->new()->has(qw/http fastcgi cache/)->plan(5) |
28 ->write_file_expand('nginx.conf', <<'EOF'); | 28 ->write_file_expand('nginx.conf', <<'EOF'); |
29 | 29 |
30 %%TEST_GLOBALS%% | 30 %%TEST_GLOBALS%% |
31 | 31 |
32 master_process off; | |
33 daemon off; | 32 daemon off; |
34 | 33 |
35 events { | 34 events { |
36 } | 35 } |
37 | 36 |