# HG changeset patch # User Maxim Dounin # Date 1313579850 -14400 # Node ID c0ae296329059ee095016abd71eb69ce4bfaf39e # Parent fca70f483608015ae50b94d968bc03c391307f78 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. diff --git a/auth_basic.t b/auth_basic.t --- a/auth_basic.t +++ b/auth_basic.t @@ -28,7 +28,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/autoindex.t b/autoindex.t --- a/autoindex.t +++ b/autoindex.t @@ -26,7 +26,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/dav.t b/dav.t --- a/dav.t +++ b/dav.t @@ -27,7 +27,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/fastcgi.t b/fastcgi.t --- a/fastcgi.t +++ b/fastcgi.t @@ -29,7 +29,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/fastcgi_cache.t b/fastcgi_cache.t --- a/fastcgi_cache.t +++ b/fastcgi_cache.t @@ -29,7 +29,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/fastcgi_header_params.t b/fastcgi_header_params.t --- a/fastcgi_header_params.t +++ b/fastcgi_header_params.t @@ -29,7 +29,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/gzip.t b/gzip.t --- a/gzip.t +++ b/gzip.t @@ -27,7 +27,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/gzip_flush.t b/gzip_flush.t --- a/gzip_flush.t +++ b/gzip_flush.t @@ -26,7 +26,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/http_error_page.t b/http_error_page.t --- a/http_error_page.t +++ b/http_error_page.t @@ -26,7 +26,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/http_expect_100_continue.t b/http_expect_100_continue.t --- a/http_expect_100_continue.t +++ b/http_expect_100_continue.t @@ -27,7 +27,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/http_location.t b/http_location.t --- a/http_location.t +++ b/http_location.t @@ -26,7 +26,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/http_server_name.t b/http_server_name.t --- a/http_server_name.t +++ b/http_server_name.t @@ -26,7 +26,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/limit_req.t b/limit_req.t --- a/limit_req.t +++ b/limit_req.t @@ -27,7 +27,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/mail_imap.t b/mail_imap.t --- a/mail_imap.t +++ b/mail_imap.t @@ -35,7 +35,6 @@ my $t = Test::Nginx->new() %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/mail_pop3.t b/mail_pop3.t --- a/mail_pop3.t +++ b/mail_pop3.t @@ -35,7 +35,6 @@ my $t = Test::Nginx->new() %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/mail_smtp.t b/mail_smtp.t --- a/mail_smtp.t +++ b/mail_smtp.t @@ -34,7 +34,6 @@ my $t = Test::Nginx->new() %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/mail_smtp_greeting_delay.t b/mail_smtp_greeting_delay.t --- a/mail_smtp_greeting_delay.t +++ b/mail_smtp_greeting_delay.t @@ -27,7 +27,6 @@ my $t = Test::Nginx->new()->has(qw/mail %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/mail_smtp_xclient.t b/mail_smtp_xclient.t --- a/mail_smtp_xclient.t +++ b/mail_smtp_xclient.t @@ -31,7 +31,6 @@ my $t = Test::Nginx->new()->has(qw/mail %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/memcached.t b/memcached.t --- a/memcached.t +++ b/memcached.t @@ -30,7 +30,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/memcached_fake.t b/memcached_fake.t --- a/memcached_fake.t +++ b/memcached_fake.t @@ -27,7 +27,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/not_modified.t b/not_modified.t --- a/not_modified.t +++ b/not_modified.t @@ -26,7 +26,6 @@ my $t = Test::Nginx->new()->has('http')- %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/perl.t b/perl.t --- a/perl.t +++ b/perl.t @@ -26,7 +26,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/perl_gzip.t b/perl_gzip.t --- a/perl_gzip.t +++ b/perl_gzip.t @@ -29,7 +29,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/proxy.t b/proxy.t --- a/proxy.t +++ b/proxy.t @@ -27,7 +27,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/proxy_cache.t b/proxy_cache.t --- a/proxy_cache.t +++ b/proxy_cache.t @@ -26,7 +26,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/proxy_chunked.t b/proxy_chunked.t --- a/proxy_chunked.t +++ b/proxy_chunked.t @@ -33,7 +33,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/proxy_noclose.t b/proxy_noclose.t --- a/proxy_noclose.t +++ b/proxy_noclose.t @@ -38,7 +38,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/proxy_store.t b/proxy_store.t --- a/proxy_store.t +++ b/proxy_store.t @@ -27,7 +27,6 @@ my $t = Test::Nginx->new(); %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/proxy_xar.t b/proxy_xar.t --- a/proxy_xar.t +++ b/proxy_xar.t @@ -27,7 +27,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/random_index.t b/random_index.t --- a/random_index.t +++ b/random_index.t @@ -26,7 +26,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/range.t b/range.t --- a/range.t +++ b/range.t @@ -27,7 +27,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/range_flv.t b/range_flv.t --- a/range_flv.t +++ b/range_flv.t @@ -27,7 +27,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/rewrite.t b/rewrite.t --- a/rewrite.t +++ b/rewrite.t @@ -26,7 +26,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/rewrite_unescape.t b/rewrite_unescape.t --- a/rewrite_unescape.t +++ b/rewrite_unescape.t @@ -26,7 +26,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/scgi.t b/scgi.t --- a/scgi.t +++ b/scgi.t @@ -29,7 +29,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/ssi.t b/ssi.t --- a/ssi.t +++ b/ssi.t @@ -27,7 +27,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/ssi_include_big.t b/ssi_include_big.t --- a/ssi_include_big.t +++ b/ssi_include_big.t @@ -27,7 +27,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events { diff --git a/ssi_waited.t b/ssi_waited.t --- a/ssi_waited.t +++ b/ssi_waited.t @@ -27,7 +27,6 @@ my $t = Test::Nginx->new()->has(qw/http %%TEST_GLOBALS%% -master_process off; daemon off; events {