aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test/ssh_test_lib.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2017-02-06 17:29:06 +0100
committerHans Nilsson <[email protected]>2017-02-06 17:29:06 +0100
commit047e3bebbe1639e3f2c82431269c0f7100af55af (patch)
treeff7ee6a8bed5dfd178e41f63649eff3d89ba2817 /lib/ssh/test/ssh_test_lib.erl
parent8bd0ae68f2850a788ced12dc1223f1dd9fb2414d (diff)
parentfc7a709d0898ea302376b3dece24d562fbed610d (diff)
downloadotp-047e3bebbe1639e3f2c82431269c0f7100af55af.tar.gz
otp-047e3bebbe1639e3f2c82431269c0f7100af55af.tar.bz2
otp-047e3bebbe1639e3f2c82431269c0f7100af55af.zip
Merge branch 'hans/ssh/cuddle_tests' into maint
Diffstat (limited to 'lib/ssh/test/ssh_test_lib.erl')
-rw-r--r--lib/ssh/test/ssh_test_lib.erl7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/ssh/test/ssh_test_lib.erl b/lib/ssh/test/ssh_test_lib.erl
index 286ac6e882..1673f52821 100644
--- a/lib/ssh/test/ssh_test_lib.erl
+++ b/lib/ssh/test/ssh_test_lib.erl
@@ -690,13 +690,16 @@ ssh_type() ->
ssh_type1() ->
try
+ ct:log("~p:~p os:find_executable(\"ssh\")",[?MODULE,?LINE]),
case os:find_executable("ssh") of
false ->
ct:log("~p:~p Executable \"ssh\" not found",[?MODULE,?LINE]),
not_found;
- _ ->
+ Path ->
+ ct:log("~p:~p Found \"ssh\" at ~p",[?MODULE,?LINE,Path]),
case os:cmd("ssh -V") of
- "OpenSSH" ++ _ ->
+ Version = "OpenSSH" ++ _ ->
+ ct:log("~p:~p Found OpenSSH ~p",[?MODULE,?LINE,Version]),
openSSH;
Str ->
ct:log("ssh client ~p is unknown",[Str]),