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
parent
83084eedf9
commit
918a55659e
|
@ -29,7 +29,7 @@ class ArchivableFilesFinderTest extends \PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
$fs = new Filesystem;
|
$fs = new Filesystem;
|
||||||
|
|
||||||
$this->sources = sys_get_temp_dir().
|
$this->sources = realpath(sys_get_temp_dir()).
|
||||||
'/composer_archiver_test'.uniqid(mt_rand(), true);
|
'/composer_archiver_test'.uniqid(mt_rand(), true);
|
||||||
|
|
||||||
$fileTree = array(
|
$fileTree = array(
|
||||||
|
|
Loading…
Reference in New Issue