SSH Agent: Integration tests against ssh-agent

Windows testing is currently explicitly disabled due to too many different scenarios to run an agent and MSYS2 having its own.
This commit is contained in:
Toni Spets 2020-02-06 10:15:50 +02:00 committed by Jonathan White
parent 2359742de1
commit dce9af219f
6 changed files with 361 additions and 32 deletions

View file

@ -68,7 +68,8 @@ void AgentSettingsWidget::loadSettings()
return;
}
#endif
if (sshAgent()->testConnection()) {
QList<QSharedPointer<OpenSSHKey>> keys;
if (sshAgent()->listIdentities(keys)) {
m_ui->sshAuthSockMessageWidget->showMessage(tr("SSH Agent connection is working!"),
MessageWidget::Positive);
} else {