|
|
|
@ -204,12 +204,18 @@ class FilesystemTest extends TestCase
|
|
|
|
|
array('../foo', '../foo'),
|
|
|
|
|
array('c:/foo/bar', 'c:/foo//bar'),
|
|
|
|
|
array('C:/foo/bar', 'C:/foo/./bar'),
|
|
|
|
|
array('C:/foo/bar', 'C://foo//bar'),
|
|
|
|
|
array('C:/foo/bar', 'C:///foo//bar'),
|
|
|
|
|
array('C:/bar', 'C:/foo/../bar'),
|
|
|
|
|
array('/bar', '/foo/../bar/'),
|
|
|
|
|
array('phar://c:/Foo', 'phar://c:/Foo/Bar/..'),
|
|
|
|
|
array('phar://c:/Foo', 'phar://c:///Foo/Bar/..'),
|
|
|
|
|
array('phar://c:/', 'phar://c:/Foo/Bar/../../../..'),
|
|
|
|
|
array('/', '/Foo/Bar/../../../..'),
|
|
|
|
|
array('/', '/'),
|
|
|
|
|
array('/', '//'),
|
|
|
|
|
array('/', '///'),
|
|
|
|
|
array('/Foo', '///Foo'),
|
|
|
|
|
array('c:/', 'c:\\'),
|
|
|
|
|
array('../src', 'Foo/Bar/../../../src'),
|
|
|
|
|
array('c:../b', 'c:.\\..\\a\\..\\b'),
|
|
|
|
|