mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-16 02:07:09 +00: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…
Reference in New Issue
Block a user