changeset 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 fca70f483608
children b8fdbc918280
files auth_basic.t autoindex.t dav.t fastcgi.t fastcgi_cache.t fastcgi_header_params.t gzip.t gzip_flush.t http_error_page.t http_expect_100_continue.t http_location.t http_server_name.t limit_req.t mail_imap.t mail_pop3.t mail_smtp.t mail_smtp_greeting_delay.t mail_smtp_xclient.t memcached.t memcached_fake.t not_modified.t perl.t perl_gzip.t proxy.t proxy_cache.t proxy_chunked.t proxy_noclose.t proxy_store.t proxy_xar.t random_index.t range.t range_flv.t rewrite.t rewrite_unescape.t scgi.t ssi.t ssi_include_big.t ssi_waited.t
diffstat 38 files changed, 0 insertions(+), 38 deletions(-) [+]
line wrap: on
line diff
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {