aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2017-02-03 14:33:47 +0100
committerHans Nilsson <[email protected]>2017-02-03 15:21:54 +0100
commitc1ab024ba3bd3f66f291d9a88a4e8af3e0244eb2 (patch)
treec821e6959c1374828d38da45f652a7e9c97f1739 /lib/ssh/test
parent181d1c60def42e938dc3642cf798a73fa73d1425 (diff)
downloadotp-c1ab024ba3bd3f66f291d9a88a4e8af3e0244eb2.tar.gz
otp-c1ab024ba3bd3f66f291d9a88a4e8af3e0244eb2.tar.bz2
otp-c1ab024ba3bd3f66f291d9a88a4e8af3e0244eb2.zip
ssh: logging in test lib for ssh tests
Diffstat (limited to 'lib/ssh/test')
-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]),