determining what failure to expect

This commit is contained in:
montdidier 2015-01-13 09:52:01 +08:00
parent 1ebba5b32c
commit 8571d0c6d7

View File

@ -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;
}