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