tony2001                Mon Jan  5 11:14:44 2009 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src    run-tests.php 
  Log:
  fix ws
  
  
http://cvs.php.net/viewvc.cgi/php-src/run-tests.php?r1=1.226.2.37.2.35.2.60&r2=1.226.2.37.2.35.2.61&diff_format=u
Index: php-src/run-tests.php
diff -u php-src/run-tests.php:1.226.2.37.2.35.2.60 
php-src/run-tests.php:1.226.2.37.2.35.2.61
--- php-src/run-tests.php:1.226.2.37.2.35.2.60  Mon Jan  5 09:19:09 2009
+++ php-src/run-tests.php       Mon Jan  5 11:14:43 2009
@@ -24,7 +24,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: run-tests.php,v 1.226.2.37.2.35.2.60 2009/01/05 09:19:09 tony2001 Exp 
$ */
+/* $Id: run-tests.php,v 1.226.2.37.2.35.2.61 2009/01/05 11:14:43 tony2001 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
@@ -617,7 +617,7 @@
                                        $html_output = is_resource($html_file);
                                        break;
                                case '--version':
-                                       echo '$Revision: 1.226.2.37.2.35.2.60 
$' . "\n";
+                                       echo '$Revision: 1.226.2.37.2.35.2.61 
$' . "\n";
                                        exit(1);
 
                                default:
@@ -1787,13 +1787,13 @@
                        }
 
                        if (!$leaked && !$failed_headers) {
-                            if (isset($section_text['XFAIL'] )) {
-                                $warn = true;
-                               $info = " (warn: XFAIL section but test 
passes)";
-                            }else {
-                               show_result("PASS", $tested, $tested_file, '', 
$temp_filenames);
-                               return 'PASSED';
-                            }
+                               if (isset($section_text['XFAIL'] )) {
+                                       $warn = true;
+                                       $info = " (warn: XFAIL section but test 
passes)";
+                               }else {
+                                       show_result("PASS", $tested, 
$tested_file, '', $temp_filenames);
+                                       return 'PASSED';
+                               }
                        }
                }
 
@@ -1816,13 +1816,13 @@
                        }
 
                        if (!$leaked && !$failed_headers) {
-                              if (isset($section_text['XFAIL'] )) {
-                                $warn = true;
-                               $info = " (warn: XFAIL section but test 
passes)";
-                              }else {
-                               show_result("PASS", $tested, $tested_file, '', 
$temp_filenames);
-                               return 'PASSED';
-                              }
+                               if (isset($section_text['XFAIL'] )) {
+                                       $warn = true;
+                                       $info = " (warn: XFAIL section but test 
passes)";
+                               }else {
+                                       show_result("PASS", $tested, 
$tested_file, '', $temp_filenames);
+                                       return 'PASSED';
+                               }
                        }
                }
 



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

Reply via email to