From: Antony Dovgal Date: Mon, 26 May 2008 11:33:38 +0000 (+0000) Subject: fix typo X-Git-Tag: BEFORE_NEW_PARAMETER_PARSE~144 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a591b8bdc85eaaf4c17e374e9dec7d9f65763e03;p=php fix typo --- diff --git a/run-tests.php b/run-tests.php index da9f83b9ef..c6bd7bf958 100755 --- a/run-tests.php +++ b/run-tests.php @@ -981,7 +981,7 @@ function run_all_tests($test_files, $env, $redir_tested = NULL) if (!is_array($name) && $result != 'REDIR') { $test_results[$index] = $result; - if ($failed_tests_file && ($result = 'XFAILED' || $result == 'FAILED' || $result == 'WARNED' || $result == 'LEAKED')) + if ($failed_tests_file && ($result == 'XFAILED' || $result == 'FAILED' || $result == 'WARNED' || $result == 'LEAKED')) { fwrite($failed_tests_file, "$index\n"); }