From: Remi Collet Date: Thu, 20 Nov 2014 07:12:27 +0000 (+0100) Subject: Fixed #68458 Change pm.start_servers default warning to notice X-Git-Tag: php-5.6.4RC1~55^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1939097ededdbf1d42305e32f6a9947ff6a7e91f;p=php Fixed #68458 Change pm.start_servers default warning to notice Add another test 014 checks that no "notice" are traced when log_level=warning 015 checks that "notice" are traced when log_level=notice --- diff --git a/sapi/fpm/tests/015.phpt b/sapi/fpm/tests/015.phpt new file mode 100644 index 0000000000..00e8bf3f5f --- /dev/null +++ b/sapi/fpm/tests/015.phpt @@ -0,0 +1,64 @@ +--TEST-- +FPM: Test various messages on start, from master and childs +--SKIPIF-- + +--FILE-- + +Done +--EXPECTF-- +Started +[%s] NOTICE: [pool unconfined] pm.start_servers is not set. It's been set to 2. +[%s] NOTICE: [pool unconfined] 'user' directive is ignored when FPM is not running as root +[%s] NOTICE: fpm is running, pid %d +[%s] NOTICE: ready to handle connections +[%s] WARNING: [pool unconfined] child %d said into stderr: "ERROR: Wrong IP address 'xxx' in listen.allowed_clients" +[%s] WARNING: [pool unconfined] child %d said into stderr: "ERROR: Wrong IP address 'xxx' in listen.allowed_clients" +[%s] NOTICE: Terminating ... +[%s] NOTICE: exiting, bye-bye! +Done +--CLEAN-- + \ No newline at end of file