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: Mon, 02 Nov 2015 08:43:28 +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-89583@lists.php.net to get a copy of this message
Commit: d7ff107654acb5dc682773bb0b369a7e593056d8 Author: Xinchen Hui <laruence@gmail.com> Mon, 2 Nov 2015 16:43:28 +0800 Parents: 8dd5e1c2b526b1460228fcdfa624cd18887da111 Branches: PHP-7.0 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d7ff107654acb5dc682773bb0b369a7e593056d8 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 (#89583) next »