aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test/ssh_trpt_test_lib.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2015-06-30 15:40:16 +0200
committerHans Nilsson <[email protected]>2015-07-02 12:18:28 +0200
commita9bedfb5b9a469642c0e8bf315f41a2505444cd6 (patch)
tree52027f492745d79e1eb717e406e51766289c5ba7 /lib/ssh/test/ssh_trpt_test_lib.erl
parent941ddfbeab3357177ce6eac709456fd881ac2429 (diff)
downloadotp-a9bedfb5b9a469642c0e8bf315f41a2505444cd6.tar.gz
otp-a9bedfb5b9a469642c0e8bf315f41a2505444cd6.tar.bz2
otp-a9bedfb5b9a469642c0e8bf315f41a2505444cd6.zip
ssh: testcases for no common algorithms in key exchange
Diffstat (limited to 'lib/ssh/test/ssh_trpt_test_lib.erl')
-rw-r--r--lib/ssh/test/ssh_trpt_test_lib.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ssh/test/ssh_trpt_test_lib.erl b/lib/ssh/test/ssh_trpt_test_lib.erl
index 8623020a31..a604fca1ac 100644
--- a/lib/ssh/test/ssh_trpt_test_lib.erl
+++ b/lib/ssh/test/ssh_trpt_test_lib.erl
@@ -200,7 +200,9 @@ op_val(E, S0) ->
{'EXIT',{function_clause,[{ssh_trpt_test_lib,op,[E,S0],_}|_]}} ->
{instantiate(E,S0), S0};
S=#s{} ->
- {S#s.return_value, S}
+ {S#s.return_value, S};
+ F={fail,receive_timeout,_St} ->
+ throw(F)
end.