aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test/ssh_to_openssh_SUITE.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2014-09-17 09:36:15 +0200
committerIngela Anderton Andin <[email protected]>2014-09-18 14:47:34 +0200
commitd4d7231a24c697085ddf89fcdfac506b7e732e5c (patch)
tree98f1dafd272df641371fb9742388dca4b32d4d5c /lib/ssh/test/ssh_to_openssh_SUITE.erl
parent9fc5ce2f25490bb895df02326cd8fd04d4e8e0b5 (diff)
downloadotp-d4d7231a24c697085ddf89fcdfac506b7e732e5c.tar.gz
otp-d4d7231a24c697085ddf89fcdfac506b7e732e5c.tar.bz2
otp-d4d7231a24c697085ddf89fcdfac506b7e732e5c.zip
ssh: Avoid timeout of init_per_test_case on some platforms
Also some code cleanup
Diffstat (limited to 'lib/ssh/test/ssh_to_openssh_SUITE.erl')
-rw-r--r--lib/ssh/test/ssh_to_openssh_SUITE.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/ssh/test/ssh_to_openssh_SUITE.erl b/lib/ssh/test/ssh_to_openssh_SUITE.erl
index 3500bf012b..35179adf28 100644
--- a/lib/ssh/test/ssh_to_openssh_SUITE.erl
+++ b/lib/ssh/test/ssh_to_openssh_SUITE.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2008-2013. All Rights Reserved.
+%% Copyright Ericsson AB 2008-2014. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -564,4 +564,7 @@ check_ssh_client_support2(P) ->
check_ssh_client_support2(P);
{P, {exit_status, E}} ->
E
+ after 5000 ->
+ ct:pal("Openssh command timed out ~n"),
+ -1
end.