com php-src: Fixed bug #70540 (sapi/fpm/tests/008.phpt and 016.phpt should be skipped on some platforms): sapi/fpm/tests/008.phpt
sapi/fpm/tests/016.phpt

From: Date: Sun, 08 Nov 2015 01:54:24 +0000
Subject: com php-src: Fixed bug #70540 (sapi/fpm/tests/008.phpt and 016.phpt should be skipped on some platforms): sapi/fpm/tests/008.phpt
sapi/fpm/tests/016.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-89701@lists.php.net to get a copy of this message
Commit: 20b773438dcbb2da326c93a9af712f65bdfb73b3 Author: Xinchen Hui <laruence@gmail.com> Mon, 2 Nov 2015 16:43:28 +0800 Committer: Anatol Belski <ab@php.net> Sun, 8 Nov 2015 02:54:24 +0100 Parents: ddda9b3455360db7c39902f90a0516103226e9fd Branches: PHP-7.0.0 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=20b773438dcbb2da326c93a9af712f65bdfb73b3 Log: Fixed bug #70540 (sapi/fpm/tests/008.phpt and 016.phpt should be skipped on some platforms) Bugs: https://bugs.php.net/70540 Changed paths: M sapi/fpm/tests/008.phpt M sapi/fpm/tests/016.phpt Diff: diff --git a/sapi/fpm/tests/008.phpt b/sapi/fpm/tests/008.phpt index 60f1ea6..732a717 100644 --- a/sapi/fpm/tests/008.phpt +++ b/sapi/fpm/tests/008.phpt @@ -1,7 +1,22 @@ --TEST-- FPM: Test multi pool (dynamic + ondemand + static) (bug #68423) --SKIPIF-- -<?php include "skipif.inc"; ?> +<?php +include "skipif.inc"; + +$cfg = <<<EOT +[global] +[poold_ondemand] +listen=127.0.0.1:9000 +pm = ondemand +pm.max_children = 2 +pm.process_idle_timeout = 10 +EOT; + +if (test_fpm_conf($cfg, $msg) == false) { + die("skip " . $msg); +} +?> --FILE-- <?php diff --git a/sapi/fpm/tests/016.phpt b/sapi/fpm/tests/016.phpt index 1a9e8e7..a5084f1 100644 --- a/sapi/fpm/tests/016.phpt +++ b/sapi/fpm/tests/016.phpt @@ -1,7 +1,22 @@ --TEST-- FPM: Test splited configuration and load order #68391 --SKIPIF-- -<?php include "skipif.inc"; ?> +<?php +include "skipif.inc"; + +$cfg = <<<EOT +[global] +[poold_ondemand] +listen=127.0.0.1:9000 +pm = ondemand +pm.max_children = 2 +pm.process_idle_timeout = 10 +EOT; + +if (test_fpm_conf($cfg, $msg) == false) { + die("skip " . $msg); +} +?> --FILE-- <?php @@ -84,4 +99,4 @@ Done unlink($name); } @rmdir($logdir); -?> \ No newline at end of file +?>

« previous php.cvs (#89701) next »