aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2016-02-22 10:58:45 +0100
committerHans Nilsson <[email protected]>2016-02-22 11:58:35 +0100
commitfaa11910e0214ba05747ca8579e14efa421e3d02 (patch)
tree08cffbdafee75fb67eeeeab32876314ecc48431a /lib
parent0f54fc85b91b5ad244534238aeab5c0bc5f93815 (diff)
downloadotp-faa11910e0214ba05747ca8579e14efa421e3d02.tar.gz
otp-faa11910e0214ba05747ca8579e14efa421e3d02.tar.bz2
otp-faa11910e0214ba05747ca8579e14efa421e3d02.zip
ssh: catch port_close in test
Diffstat (limited to 'lib')
-rw-r--r--lib/ssh/test/ssh_algorithms_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh/test/ssh_algorithms_SUITE.erl b/lib/ssh/test/ssh_algorithms_SUITE.erl
index 8ccde6c29c..a03a9ee0f2 100644
--- a/lib/ssh/test/ssh_algorithms_SUITE.erl
+++ b/lib/ssh/test/ssh_algorithms_SUITE.erl
@@ -230,7 +230,7 @@ sshc_simple_exec(Config) ->
receive
{SshPort, {data,Expect}} ->
ct:log("Got expected ~p from ~p",[Expect,SshPort]),
- port_close(SshPort),
+ catch port_close(SshPort),
ok
after ?TIMEOUT ->
ct:fail("Did not receive answer")