diff --git a/cake/tests/lib/code_coverage_manager.php b/cake/tests/lib/code_coverage_manager.php index d8d3ed8d4..e026f00d2 100644 --- a/cake/tests/lib/code_coverage_manager.php +++ b/cake/tests/lib/code_coverage_manager.php @@ -503,7 +503,10 @@ class CodeCoverageManager { $path = ROOT.DS.CAKE_TESTS_LIB; } $path .= $testFile; - + $realpath = realpath($path); + if ($realpath) { + return $realpath; + } return $path; } /** @@ -756,4 +759,4 @@ class CodeCoverageManager { return false; } } -?> \ No newline at end of file +?>