summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-12-09 00:22:21 +0000
committerMarcus Boerger <helly@php.net>2005-12-09 00:22:21 +0000
commitfbeb8ae0d4034add520dcd9fa2c7ea32f28a8747 (patch)
tree66517c8fd10da07d9851a2096ecf8adbddb62885 /run-tests.php
parenta4d0a4c6251981df5ddf7155518cad1998f8beff (diff)
downloadphp-git-fbeb8ae0d4034add520dcd9fa2c7ea32f28a8747.tar.gz
- Revert piece of MFH that shows an inconsistency - actually we should fix
this fread() issue.
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php
index ccf5bcd2cc..c10beea7a2 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -784,7 +784,7 @@ function system_with_timeout($commandline)
return $data;
} else if ($n > 0) {
$line = fread($pipes[1], 8192);
- if ($line === false) {
+ if (strlen($line) == 0) {
/* EOF */
break;
}