From 830f9ec3f86da67b8e6905642929071a607adf85 Mon Sep 17 00:00:00 2001 From: TommyO Date: Wed, 14 May 2008 15:00:28 +0000 Subject: [PATCH] Fixed test path to expand softlinks to match xDebug behavior. git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6867 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/tests/lib/code_coverage_manager.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 +?>