1
0
Fork 0

Call realpath() on result of sys_get_temp_dir()

On OSX the temp dir is within /var, which is a symlink to /private/var.
If this is not resolved, the comparison will fail when comparing to the result of `git archive` in testGitExcludes().
pull/1752/head
Reto Kaiser 2013-04-01 21:37:47 +02:00
parent 83084eedf9
commit 918a55659e
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ class ArchivableFilesFinderTest extends \PHPUnit_Framework_TestCase
{
$fs = new Filesystem;
$this->sources = sys_get_temp_dir().
$this->sources = realpath(sys_get_temp_dir()).
'/composer_archiver_test'.uniqid(mt_rand(), true);
$fileTree = array(