aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test/property_test
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/property_test
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/property_test')
-rw-r--r--lib/ssh/test/property_test/ssh_eqc_client_info_timing.erl9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/ssh/test/property_test/ssh_eqc_client_info_timing.erl b/lib/ssh/test/property_test/ssh_eqc_client_info_timing.erl
index c07140dc43..19e2754eba 100644
--- a/lib/ssh/test/property_test/ssh_eqc_client_info_timing.erl
+++ b/lib/ssh/test/property_test/ssh_eqc_client_info_timing.erl
@@ -57,9 +57,9 @@
%%% Properties:
-prop_seq(_Config) ->
+prop_seq(Config) ->
{ok,Pid} = ssh_eqc_event_handler:add_report_handler(),
- {_, _, Port} = init_daemon(),
+ {_, _, Port} = init_daemon(Config),
numtests(1000,
?FORALL(Delay, choose(0,100),%% Micro seconds
try
@@ -86,7 +86,8 @@ any_relevant_error_report(Pid) ->
end, Reports).
%%%================================================================
-init_daemon() ->
+init_daemon(Config) ->
ok = begin ssh:stop(), ssh:start() end,
- ssh_test_lib:daemon([]).
+ DataDir = proplists:get_value(data_dir, Config),
+ ssh_test_lib:daemon([{system_dir,DataDir}]).