diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2019-06-23 13:54:42 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2019-06-24 14:08:11 +0200 |
commit | 94df6dc3fd07fa187ba09c587a8d1357fd8bbe6f (patch) | |
tree | 37d2e99d9afe16a5c635e8006b15eb5b4669d18f /sapi/cli/tests/php_cli_server.inc | |
parent | df27bfe58bb7bc0b2cb8f182a94347d36e2cb6b6 (diff) | |
download | php-git-94df6dc3fd07fa187ba09c587a8d1357fd8bbe6f.tar.gz |
Split test case
This test is failing on AppVeyor almost all of the time, so splitting
it seems appropriate. This also allows us to rid php_cli_server_stop()
which was only used by this test case.
Diffstat (limited to 'sapi/cli/tests/php_cli_server.inc')
-rw-r--r-- | sapi/cli/tests/php_cli_server.inc | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/sapi/cli/tests/php_cli_server.inc b/sapi/cli/tests/php_cli_server.inc index 1f7091be5c..6421978a37 100644 --- a/sapi/cli/tests/php_cli_server.inc +++ b/sapi/cli/tests/php_cli_server.inc @@ -109,21 +109,4 @@ php_cli_server_start_error: return $handle; } - -function php_cli_server_stop($handle) { - $success = FALSE; - if ($handle) { - proc_terminate($handle); - /* Wait for server to shutdown */ - for ($i = 0; $i < 60; $i++) { - $status = proc_get_status($handle); - if (!($status && $status['running'])) { - $success = TRUE; - break; - } - usleep(50000); - } - } - return $success; -} ?> |