dsp             Tue Jul  7 23:04:45 2009 UTC

  Modified files:              
    /php-src    run-tests.php 
  Log:
  Reset TZ environment variable. Some tests assume that it's not set.
  
  
http://cvs.php.net/viewvc.cgi/php-src/run-tests.php?r1=1.398&r2=1.399&diff_format=u
Index: php-src/run-tests.php
diff -u php-src/run-tests.php:1.398 php-src/run-tests.php:1.399
--- php-src/run-tests.php:1.398 Wed May 20 09:22:24 2009
+++ php-src/run-tests.php       Tue Jul  7 23:04:45 2009
@@ -24,7 +24,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: run-tests.php,v 1.398 2009/05/20 09:22:24 lbarnaud Exp $ */
+/* $Id: run-tests.php,v 1.399 2009/07/07 23:04:45 dsp 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
@@ -634,7 +634,7 @@
                                        $html_output = is_resource($html_file);
                                        break;
                                case '--version':
-                                       echo '$Revision: 1.398 $' . "\n";
+                                       echo '$Revision: 1.399 $' . "\n";
                                        exit(1);
 
                                default:
@@ -1379,6 +1379,7 @@
        $env['REQUEST_METHOD']  = '';
        $env['CONTENT_TYPE']    = '';
        $env['CONTENT_LENGTH']  = '';
+       $env['TZ']              = '';
 
        if (!empty($section_text['ENV'])) {
 



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

Reply via email to