aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test/ssh_protocol_SUITE.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2017-10-11 14:53:38 +0200
committerHans Nilsson <[email protected]>2017-10-30 14:01:54 +0100
commit4eb26d0aec76f5f9588b330448511172146ac078 (patch)
treece0312e1f74ea80f09c2f93a67afe50c3cdca759 /lib/ssh/test/ssh_protocol_SUITE.erl
parentfb59a1c66c6a6b4bc8aeca418db1932ef74cee19 (diff)
downloadotp-4eb26d0aec76f5f9588b330448511172146ac078.tar.gz
otp-4eb26d0aec76f5f9588b330448511172146ac078.tar.bz2
otp-4eb26d0aec76f5f9588b330448511172146ac078.zip
ssh: Fix testcase failures caused by better key checks
Diffstat (limited to 'lib/ssh/test/ssh_protocol_SUITE.erl')
-rw-r--r--lib/ssh/test/ssh_protocol_SUITE.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ssh/test/ssh_protocol_SUITE.erl b/lib/ssh/test/ssh_protocol_SUITE.erl
index 74f802cf57..3e3e151781 100644
--- a/lib/ssh/test/ssh_protocol_SUITE.erl
+++ b/lib/ssh/test/ssh_protocol_SUITE.erl
@@ -630,11 +630,12 @@ client_handles_keyboard_interactive_0_pwds(Config) ->
%%%--------------------------------------------------------------------
-client_info_line(_Config) ->
+client_info_line(Config) ->
%% A client must not send an info-line. If it does, the server should handle
%% handle this gracefully
{ok,Pid} = ssh_eqc_event_handler:add_report_handler(),
- {_, _, Port} = ssh_test_lib:daemon([]),
+ DataDir = proplists:get_value(data_dir, Config),
+ {_, _, Port} = ssh_test_lib:daemon([{system_dir,DataDir}]),
%% Fake client:
{ok,S} = gen_tcp:connect("localhost",Port,[]),