diff options
author | Hans Nilsson <hans@erlang.org> | 2020-01-10 10:27:01 +0100 |
---|---|---|
committer | Hans Nilsson <hans@erlang.org> | 2020-01-10 15:07:17 +0100 |
commit | 3e1c5455d404180aa4362731098137ef2cc74b18 (patch) | |
tree | 33bb6c53f06735138861aca845f933becdb7063b /lib/ssh/test/ssh_upgrade_SUITE.erl | |
parent | e7bc4ae0fe0f260941343a27cef6df7a5d6a5d2f (diff) | |
download | erlang-3e1c5455d404180aa4362731098137ef2cc74b18.tar.gz |
ssh: Remove inet_port() from tests
Diffstat (limited to 'lib/ssh/test/ssh_upgrade_SUITE.erl')
-rw-r--r-- | lib/ssh/test/ssh_upgrade_SUITE.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ssh/test/ssh_upgrade_SUITE.erl b/lib/ssh/test/ssh_upgrade_SUITE.erl index 7b9b109fa1..de9d7b2b1c 100644 --- a/lib/ssh/test/ssh_upgrade_SUITE.erl +++ b/lib/ssh/test/ssh_upgrade_SUITE.erl @@ -149,8 +149,7 @@ setup_server_client(#state{config=Config} = State) -> SFTP = ssh_sftpd:subsystem_spec([{root,FtpRootDir},{cwd,FtpRootDir}]), - {Server,Host,Port} = ssh_test_lib:daemon(ssh_test_lib:inet_port(), % when lower rel is 18.x - [{system_dir,DataDir}, + {Server,Host,Port} = ssh_test_lib:daemon([{system_dir,DataDir}, {user_passwords,[{"hej","hopp"}]}, {subsystems,[SFTP]}]), |