1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Merge branch 'PHP-7.4'

* PHP-7.4:
  Increase sleep() time in test case
This commit is contained in:
Christoph M. Becker
2020-01-07 14:27:34 +01:00

View File

@@ -17,7 +17,7 @@ $cmd = 'cmd.exe "/c START ^"^" /WAIT ' . PHP_BINARY . ' -r ^"var_dump(fgets(STDI
$proc = proc_open($cmd, $descriptorspec, $pipes);
var_dump(is_resource($proc));
$pid = proc_get_status($proc)['pid'];
sleep(2);
sleep(3);
$bug_is_present = !proc_get_status($proc)['running'];
if (!$bug_is_present) {
// if the bug is not present, it will hang waiting for stdin,