From 5e73b21c706e01bc98feddaf00281c67bf610886 Mon Sep 17 00:00:00 2001 From: Rob Bast Date: Tue, 26 Jan 2016 09:40:33 +0100 Subject: [PATCH] return realpath() value (OSX uses a weird symlink structure) --- tests/Composer/TestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Composer/TestCase.php b/tests/Composer/TestCase.php index 4e115f9b0..a065f200c 100644 --- a/tests/Composer/TestCase.php +++ b/tests/Composer/TestCase.php @@ -64,7 +64,7 @@ abstract class TestCase extends \PHPUnit_Framework_TestCase do { $unique = $root . DIRECTORY_SEPARATOR . uniqid('composer-test-'); if (!file_exists($unique) && mkdir($unique, 0777)) { - return $unique; + return realpath($unique); } } while (--$attempts);