cvs: pear-core / package-PEAR.xml package2.xml /PEAR RunTest.php
| From: | Greg Beaver | Date: | Sat, 17 Feb 2007 00:19:10 +0000 |
| Subject: | cvs: pear-core / package-PEAR.xml package2.xml /PEAR RunTest.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-5428@lists.php.net to get a copy of this message | ||
cellog Sat Feb 17 00:19:10 2007 UTC
Modified files:
/pear-core package-PEAR.xml package2.xml
/pear-core/PEAR RunTest.php
Log:
* fix Bug #10113 proc_get_status() is php5
http://cvs.php.net/viewvc.cgi/pear-core/package-PEAR.xml?r1=1.433&r2=1.434&diff_format=u
Index: pear-core/package-PEAR.xml
diff -u pear-core/package-PEAR.xml:1.433 pear-core/package-PEAR.xml:1.434
--- pear-core/package-PEAR.xml:1.433 Fri Feb 16 05:36:57 2007
+++ pear-core/package-PEAR.xml Sat Feb 17 00:19:10 2007
@@ -93,6 +93,7 @@
* fix Bug #10092: run-tests does not support --INI-- or --POST--
* fix Bug #10108: update-error with backups from test-Folder
* fix Bug #10109: on failed upgrade, .bak files everywhere
+ * fix Bug #10113 proc_get_status() is php5
</notes>
<provides type="class" name="OS_Guess"/>
<provides type="class" name="System"/>
http://cvs.php.net/viewvc.cgi/pear-core/package2.xml?r1=1.327&r2=1.328&diff_format=u
Index: pear-core/package2.xml
diff -u pear-core/package2.xml:1.327 pear-core/package2.xml:1.328
--- pear-core/package2.xml:1.327 Fri Feb 16 05:36:57 2007
+++ pear-core/package2.xml Sat Feb 17 00:19:10 2007
@@ -102,6 +102,7 @@
* fix Bug #10092: run-tests does not support --INI-- or --POST--
* fix Bug #10108: update-error with backups from test-Folder
* fix Bug #10109: on failed upgrade, .bak files everywhere
+ * fix Bug #10113 proc_get_status() is php5
</notes>
<contents>
<dir name="/">
http://cvs.php.net/viewvc.cgi/pear-core/PEAR/RunTest.php?r1=1.26&r2=1.27&diff_format=u
Index: pear-core/PEAR/RunTest.php
diff -u pear-core/PEAR/RunTest.php:1.26 pear-core/PEAR/RunTest.php:1.27
--- pear-core/PEAR/RunTest.php:1.26 Fri Feb 16 20:27:18 2007
+++ pear-core/PEAR/RunTest.php Sat Feb 17 00:19:10 2007
@@ -16,7 +16,7 @@
* @author Greg Beaver <cellog@php.net>
* @copyright 1997-2006 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: RunTest.php,v 1.26 2007/02/16 20:27:18 cellog Exp $
+ * @version CVS: $Id: RunTest.php,v 1.27 2007/02/17 00:19:10 cellog Exp $
* @link http://pear.php.net/package/PEAR
* @since File available since Release 1.3.3
*/
@@ -145,12 +145,14 @@
$data .= $line;
}
}
- $stat = proc_get_status($proc);
- if ($stat['signaled']) {
- $data .= "\nTermsig=".$stat['stopsig'];
+ if (function_exists('proc_get_status')) {
+ $stat = proc_get_status($proc);
+ if ($stat['signaled']) {
+ $data .= "\nTermsig=".$stat['stopsig'];
+ }
}
$code = proc_close($proc);
- return array($stat['exitcode'], $data);
+ return array($code, $data);
}
function settings2array($settings, $ini_settings)