1
0
Fork 0

return realpath() value (OSX uses a weird symlink structure)

pull/4811/head
Rob Bast 2016-01-26 09:40:33 +01:00
parent adf3b956d0
commit 5e73b21c70
1 changed files with 1 additions and 1 deletions

View File

@ -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);