aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/ssh/tst_ssh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/ssh/tst_ssh.cpp')
-rw-r--r--tests/auto/ssh/tst_ssh.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/ssh/tst_ssh.cpp b/tests/auto/ssh/tst_ssh.cpp
index 72260c2c9a..dfc60952ae 100644
--- a/tests/auto/ssh/tst_ssh.cpp
+++ b/tests/auto/ssh/tst_ssh.cpp
@@ -143,6 +143,9 @@ void tst_Ssh::errorHandling_data()
void tst_Ssh::errorHandling()
{
+ if (SshSettings::sshFilePath().isEmpty())
+ QSKIP("No ssh found in PATH - skipping this test.");
+
QFETCH(QString, host);
QFETCH(quint16, port);
QFETCH(SshConnectionParameters::AuthenticationType, authType);