]> granicus.if.org Git - php/commitdiff
fix typo
authorAntony Dovgal <tony2001@php.net>
Mon, 26 May 2008 11:33:38 +0000 (11:33 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 26 May 2008 11:33:38 +0000 (11:33 +0000)
run-tests.php

index da9f83b9ef5cfe8ee79322c3c39f05398c07dfa2..c6bd7bf958989d9b5926aaffc070fee5e843e4af 100755 (executable)
@@ -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");
                        }