summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2004-09-27 17:30:46 (GMT)
committerIlia Alshanetsky <iliaa@php.net>2004-09-27 17:30:46 (GMT)
commit479af1e75d061cb819c7fa5676cce600a848f0e3 (patch)
tree40f69cbc8922e0ac515dce85b8b73cec1cb1a6a1 /run-tests.php
parent549ec65eeebffb4b01707686724ea32d89fc04c4 (diff)
downloadphp-479af1e75d061cb819c7fa5676cce600a848f0e3.tar.gz
Fixed bug #30249 (Incorrect timeout check).
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 e207387..d6cfdca 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -620,7 +620,7 @@ function system_with_timeout($commandline)
$e = null;
$n = @stream_select($r, $w, $e, 60);
- if ($n == 0) {
+ if ($n === 0) {
/* timed out */
$data .= "\n ** ERROR: process timed out **\n";
proc_terminate($proc);