jani            Tue Aug  5 16:25:42 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src    run-tests.php 
  Log:
  MFH
  
http://cvs.php.net/viewvc.cgi/php-src/run-tests.php?r1=1.226.2.37.2.35.2.41&r2=1.226.2.37.2.35.2.42&diff_format=u
Index: php-src/run-tests.php
diff -u php-src/run-tests.php:1.226.2.37.2.35.2.41 
php-src/run-tests.php:1.226.2.37.2.35.2.42
--- php-src/run-tests.php:1.226.2.37.2.35.2.41  Sat Aug  2 13:39:42 2008
+++ php-src/run-tests.php       Tue Aug  5 16:25:42 2008
@@ -24,7 +24,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: run-tests.php,v 1.226.2.37.2.35.2.41 2008/08/02 13:39:42 felipe Exp $ 
*/
+/* $Id: run-tests.php,v 1.226.2.37.2.35.2.42 2008/08/05 16:25:42 jani Exp $ */
 
 /* Sanity check to ensure that pcre extension needed by this script is 
available.
  * In the event it is not, print a nice error message indicating that this 
script will
@@ -231,7 +231,7 @@
        settings2array($ini_overwrites, $info_params);
        settings2params($info_params);
        $php_info = `$php $pass_options $info_params "$info_file"`;
-       define('TESTED_PHP_VERSION', `$php -r "echo PHP_VERSION;"`);
+       define('TESTED_PHP_VERSION', `$php -n -r "echo PHP_VERSION;"`);
 
        if ($php_cgi && $php != $php_cgi) {
                $php_info_cgi = `$php_cgi $pass_options $info_params -q 
"$info_file"`;
@@ -608,7 +608,7 @@
                                        $html_output = is_resource($html_file);
                                        break;
                                case '--version':
-                                       echo '$Revision: 1.226.2.37.2.35.2.41 
$' . "\n";
+                                       echo '$Revision: 1.226.2.37.2.35.2.42 
$' . "\n";
                                        exit(1);
 
                                default:



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to