cvs: php-src(PHP_5_0) / run-tests.php run-tests2.php
| From: | Ilia Alshanetsky | Date: | Mon, 27 Sep 2004 17:30:47 +0000 |
| Subject: | cvs: php-src(PHP_5_0) / run-tests.php run-tests2.php | ||
| Groups: | php.cvs php.cvs | ||
| Request: | Send a blank email to php-cvs+get-28802@lists.php.net to get a copy of this message | ||
iliaa Mon Sep 27 13:30:47 2004 EDT
Modified files: (Branch: PHP_5_0)
/php-src run-tests.php run-tests2.php
Log:
MFH: Fixed bug #30249 (Incorrect timeout check).
http://cvs.php.net/diff.php/php-src/run-tests.php?r1=1.195.2.1&r2=1.195.2.2&ty=u
Index: php-src/run-tests.php
diff -u php-src/run-tests.php:1.195.2.1 php-src/run-tests.php:1.195.2.2
--- php-src/run-tests.php:1.195.2.1 Wed Jul 21 07:20:33 2004
+++ php-src/run-tests.php Mon Sep 27 13:30:47 2004
@@ -620,7 +620,7 @@
$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);
http://cvs.php.net/diff.php/php-src/run-tests2.php?r1=1.11.2.1&r2=1.11.2.2&ty=u
Index: php-src/run-tests2.php
diff -u php-src/run-tests2.php:1.11.2.1 php-src/run-tests2.php:1.11.2.2
--- php-src/run-tests2.php:1.11.2.1 Thu Sep 9 13:09:25 2004
+++ php-src/run-tests2.php Mon Sep 27 13:30:47 2004
@@ -204,7 +204,7 @@
$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);