diff options
author | Hans Nilsson <[email protected]> | 2017-12-07 13:11:47 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2017-12-21 15:31:45 +0100 |
commit | 4ec9ee4fc8893b526f1686da66b90bdf69f8f343 (patch) | |
tree | 69a499a4d1d9b976126999d04ae012cbc0399cd2 /lib/ssh/test/ssh_sftp_SUITE.erl | |
parent | 80633af75bb2c3f889d69cf22a0102bf5eaefe31 (diff) | |
download | otp-4ec9ee4fc8893b526f1686da66b90bdf69f8f343.tar.gz otp-4ec9ee4fc8893b526f1686da66b90bdf69f8f343.tar.bz2 otp-4ec9ee4fc8893b526f1686da66b90bdf69f8f343.zip |
ssh: Better reports in some test case failures
Diffstat (limited to 'lib/ssh/test/ssh_sftp_SUITE.erl')
-rw-r--r-- | lib/ssh/test/ssh_sftp_SUITE.erl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ssh/test/ssh_sftp_SUITE.erl b/lib/ssh/test/ssh_sftp_SUITE.erl index 7aa3d8a00a..c2f9c0eba8 100644 --- a/lib/ssh/test/ssh_sftp_SUITE.erl +++ b/lib/ssh/test/ssh_sftp_SUITE.erl @@ -181,8 +181,9 @@ init_per_group(openssh_server, Config) -> [{peer, {fmt_host(IPx),Portx}}, {group, openssh_server} | Config]; {error,"Key exchange failed"} -> {skip, "openssh server doesn't support the tested kex algorithm"}; - _ -> - {skip, "No openssh server"} + Other -> + ct:log("No openssh server. Cause:~n~p~n",[Other]), + {skip, "No openssh daemon (see log in testcase)"} end; init_per_group(remote_tar, Config) -> |