aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test/ssh_sftpd_SUITE.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2015-10-09 12:42:32 +0200
committerHans Nilsson <[email protected]>2015-10-09 12:42:32 +0200
commit38be5f936a3ed12a01f4f4441dbaa6b4d084d01f (patch)
tree3f69c31ff910fcd40b96c0109d2ac2d4bfbf87c9 /lib/ssh/test/ssh_sftpd_SUITE.erl
parent309c4b503df1a586e57f6558b6de08245fa80d47 (diff)
downloadotp-38be5f936a3ed12a01f4f4441dbaa6b4d084d01f.tar.gz
otp-38be5f936a3ed12a01f4f4441dbaa6b4d084d01f.tar.bz2
otp-38be5f936a3ed12a01f4f4441dbaa6b4d084d01f.zip
ssh: added 'after' to receive stmts in test/
Diffstat (limited to 'lib/ssh/test/ssh_sftpd_SUITE.erl')
-rw-r--r--lib/ssh/test/ssh_sftpd_SUITE.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ssh/test/ssh_sftpd_SUITE.erl b/lib/ssh/test/ssh_sftpd_SUITE.erl
index 94a54ec9db..6b03a2b763 100644
--- a/lib/ssh/test/ssh_sftpd_SUITE.erl
+++ b/lib/ssh/test/ssh_sftpd_SUITE.erl
@@ -683,6 +683,8 @@ reply(Cm, Channel, RBuf) ->
closed;
{ssh_cm, Cm, Msg} ->
ct:fail(Msg)
+ after
+ 30000 -> ct:fail("timeout ~p:~p",[?MODULE,?LINE])
end.