mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-26 03:27:31 +00:00
Merge branch 'master' into php5
* master: Properly skip SFTPLargeFileTest when environment variables not defined.
This commit is contained in:
commit
30ef0e164f
@ -41,8 +41,10 @@ class Functional_Net_SFTPLargeFileTest extends PhpseclibFunctionalTestCase
|
|||||||
|
|
||||||
public function tearDown()
|
public function tearDown()
|
||||||
{
|
{
|
||||||
$this->sftp->chdir($this->getEnv('SSH_HOME'));
|
if ($this->sftp) {
|
||||||
$this->sftp->delete($this->scratchDir);
|
$this->sftp->chdir($this->getEnv('SSH_HOME'));
|
||||||
|
$this->sftp->delete($this->scratchDir);
|
||||||
|
}
|
||||||
parent::tearDown();
|
parent::tearDown();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user