]> granicus.if.org Git - php/commitdiff
fix ws
authorAntony Dovgal <tony2001@php.net>
Mon, 5 Jan 2009 11:14:43 +0000 (11:14 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 5 Jan 2009 11:14:43 +0000 (11:14 +0000)
run-tests.php

index c7ab0410daef74726baf7c2cf29885db7b10c91d..8753f6e828d8c40904315c1f096381df99872956 100755 (executable)
@@ -1787,13 +1787,13 @@ COMMAND $cmd
                        }
 
                        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 @@ COMMAND $cmd
                        }
 
                        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';
+                               }
                        }
                }