Add test case for GitHub Issue 850: Realpath in SFTP chmod().

This commit is contained in:
Andreas Fischer 2015-10-19 00:06:41 +02:00
parent b67c690498
commit 579e51c58f

View File

@ -238,6 +238,20 @@ class Functional_Net_SFTPUserStoryTest extends PhpseclibFunctionalTestCase
/**
* @depends testTruncate
* @group github850
*/
public function testChModOnFile($sftp)
{
$this->assertNotFalse(
$sftp->chmod(0755, 'file1.txt'),
'Failed asserting that chmod() was successful.'
);
return $sftp;
}
/**
* @depends testChModOnFile
*/
public function testChDirOnFile($sftp)
{