mirror of
https://github.com/danog/phpseclib.git
synced 2025-01-22 04:51:19 +01:00
determining what failure to expect
This commit is contained in:
parent
1ebba5b32c
commit
8571d0c6d7
@ -48,7 +48,7 @@ class Functional_Net_SSH2AgentTest extends PhpseclibFunctionalTestCase
|
||||
$this->assertEquals($username, trim($ssh->exec("ssh " . $username . "@" . $hostname . ' \'whoami\'')));
|
||||
|
||||
$agent->stopSSHForwarding($ssh);
|
||||
$this->assertEquals($username, 'failure');
|
||||
$this->assertEquals('failure?', trim($ssh->exec("ssh " . $username . "@" . $hostname . ' \'whoami\'')));
|
||||
|
||||
return $args;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user