summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorRemi Collet <remi@php.net>2013-11-19 12:42:44 +0100
committerRemi Collet <remi@php.net>2013-11-19 12:42:44 +0100
commit8c05e861d659f912d95f1720e985632757c5057b (patch)
tree0fccbe10fc48e05cce626e6f8987f7893c758310 /run-tests.php
parent35b463a2c59859278dc189a0f3b207fcdc66c2ff (diff)
parent87cabc04ac5081f032c55cdc67d541a92471964e (diff)
downloadphp-git-8c05e861d659f912d95f1720e985632757c5057b.tar.gz
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: avoid doing a stream_select on a closed stream
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/run-tests.php b/run-tests.php
index d37c18b1fc..02d4665bcb 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -1090,6 +1090,7 @@ function system_with_timeout($commandline, $env = null, $stdin = null)
fwrite($pipes[0], $stdin);
}
fclose($pipes[0]);
+ unset($pipes[0]);
$timeout = $leak_check ? 300 : (isset($env['TEST_TIMEOUT']) ? $env['TEST_TIMEOUT'] : 60);