SFTP: add unit test for stat cache fix

This commit is contained in:
terrafrost 2014-07-17 11:22:59 -05:00
parent fe7fd97b59
commit 6202d2c3ed

View File

@ -342,7 +342,21 @@ class Functional_Net_SFTPUserStoryTest extends PhpseclibFunctionalTestCase
}
/**
* @depends testSortOrder
* on older versions this would result in a fatal error
* @depends testReadlink
* @group github402
*/
public function testStatcacheFix($sftp)
{
$sftp->mkdir('testdir');
$sftp->chdir('testdir');
$sftp->touch('testdir');
$sftp->chdir('..');
$sftp->delete('testdir', true);
}
/**
* @depends testStatcacheFix
*/
public function testChDirUpHome($sftp)
{