add unit test demo'ing issue # 830

This commit is contained in:
terrafrost 2015-09-26 19:59:43 -05:00
parent 34f581554a
commit 23db2f7be3

View File

@ -649,5 +649,18 @@ class Functional_Net_SFTPUserStoryTest extends PhpseclibFunctionalTestCase
$this->assertSame($stat['type'], NET_SFTP_TYPE_SYMLINK);
$sftp->enableStatCache();
//$sftp->chdir('..');
return $sftp;
}
/**
* @depends testStatVsLstat
* @group github735
*/
public function testEndlessLoopOnUpload($sftp)
{
$sftp->put('endless.txt', 'res.txt', NET_SFTP_LOCAL_FILE, 0, 10);
}
}