diff options
author | Hans Nilsson <[email protected]> | 2017-03-03 14:17:10 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2017-04-07 10:19:56 +0200 |
commit | 26fffbb94ec15646235f1ba91aa3afcfb9711daa (patch) | |
tree | 43819cdcb5d3c4aec9f4793f68062aaa8e72be27 /lib/ssh/test/ssh_sftpd_SUITE.erl | |
parent | a005cc758490a1fa04119e747534eddbd76c4223 (diff) | |
download | otp-26fffbb94ec15646235f1ba91aa3afcfb9711daa.tar.gz otp-26fffbb94ec15646235f1ba91aa3afcfb9711daa.tar.bz2 otp-26fffbb94ec15646235f1ba91aa3afcfb9711daa.zip |
ssh: Test-suites beautifications
Diffstat (limited to 'lib/ssh/test/ssh_sftpd_SUITE.erl')
-rw-r--r-- | lib/ssh/test/ssh_sftpd_SUITE.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssh/test/ssh_sftpd_SUITE.erl b/lib/ssh/test/ssh_sftpd_SUITE.erl index b167f98ac8..4dd510fc47 100644 --- a/lib/ssh/test/ssh_sftpd_SUITE.erl +++ b/lib/ssh/test/ssh_sftpd_SUITE.erl @@ -151,8 +151,8 @@ init_per_testcase(TestCase, Config) -> SubSystems = [ssh_sftpd:subsystem_spec([])], ssh:daemon(0, [{subsystems, SubSystems}|Options]) end, - {ok,Dinf} = ssh:daemon_info(Sftpd), - Port = proplists:get_value(port, Dinf), + + Port = ssh_test_lib:daemon_port(Sftpd), Cm = ssh_test_lib:connect(Port, [{user_dir, ClientUserDir}, |