From: Antony Dovgal Date: Mon, 5 Jan 2009 11:14:43 +0000 (+0000) Subject: fix ws X-Git-Tag: php-5.3.0beta1~273 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=24163ce0b295a7482c41cc328b7f9f07c812494a;p=php fix ws --- diff --git a/run-tests.php b/run-tests.php index c7ab0410da..8753f6e828 100755 --- a/run-tests.php +++ b/run-tests.php @@ -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'; + } } }