cvs: pear-core /PEAR RunTest.php
| From: | Helgi �ormar �orbj�rnsson | Date: | Sat, 25 Apr 2009 20:12:47 +0000 |
| Subject: | cvs: pear-core /PEAR RunTest.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-8367@lists.php.net to get a copy of this message | ||
dufuz Sat Apr 25 20:12:47 2009 UTC
Modified files:
/pear-core/PEAR RunTest.php
Log:
Fix Gregs commit for #11883 - A break can not happen in an if
This fixes Bug #16122 PEAR RunTest failed to run as expected
http://cvs.php.net/viewvc.cgi/pear-core/PEAR/RunTest.php?r1=1.74&r2=1.75&diff_format=u
Index: pear-core/PEAR/RunTest.php
diff -u pear-core/PEAR/RunTest.php:1.74 pear-core/PEAR/RunTest.php:1.75
--- pear-core/PEAR/RunTest.php:1.74 Tue Feb 24 23:38:22 2009
+++ pear-core/PEAR/RunTest.php Sat Apr 25 20:12:47 2009
@@ -10,7 +10,7 @@
* @author Greg Beaver <cellog@php.net>
* @copyright 1997-2009 The Authors
* @license http://opensource.org/licenses/bsd-license.php
New BSD License
- * @version CVS: $Id: RunTest.php,v 1.74 2009/02/24 23:38:22 dufuz Exp $
+ * @version CVS: $Id: RunTest.php,v 1.75 2009/04/25 20:12:47 dufuz Exp $
* @link http://pear.php.net/package/PEAR
* @since File available since Release 1.3.3
*/
@@ -245,12 +245,11 @@
{
if (!file_exists($file) && file_exists(getcwd() . DIRECTORY_SEPARATOR . $file)) {
$file = realpath(getcwd() . DIRECTORY_SEPARATOR . $file);
- break;
} elseif (file_exists($file)) {
$file = realpath($file);
}
- $cmd = $this->_preparePhpBin($this->_php, $file. $ini_settings);
+ $cmd = $this->_preparePhpBin($this->_php, $file, $ini_settings);
if (isset($this->_logger)) {
$this->_logger->log(2, 'Running command "' . $cmd .
'"');
}