return realpath() value (OSX uses a weird symlink structure)
parent
adf3b956d0
commit
5e73b21c70
|
@ -64,7 +64,7 @@ abstract class TestCase extends \PHPUnit_Framework_TestCase
|
||||||
do {
|
do {
|
||||||
$unique = $root . DIRECTORY_SEPARATOR . uniqid('composer-test-');
|
$unique = $root . DIRECTORY_SEPARATOR . uniqid('composer-test-');
|
||||||
if (!file_exists($unique) && mkdir($unique, 0777)) {
|
if (!file_exists($unique) && mkdir($unique, 0777)) {
|
||||||
return $unique;
|
return realpath($unique);
|
||||||
}
|
}
|
||||||
} while (--$attempts);
|
} while (--$attempts);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue