mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-16 02:07:09 +00:00
add unit test demo'ing issue # 830
This commit is contained in:
parent
34f581554a
commit
23db2f7be3
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user