aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2016-05-03 13:56:03 +0200
committerHans Nilsson <[email protected]>2016-05-03 14:01:35 +0200
commit4009859d6a10cd73ba55d49f1f033459d2b99c89 (patch)
tree6dd9c962083f6b69fca4433c44ea2a6adbde2eda /lib/ssh/test
parent54825baea574a20441acc40948527c74a524c4ff (diff)
downloadotp-4009859d6a10cd73ba55d49f1f033459d2b99c89.tar.gz
otp-4009859d6a10cd73ba55d49f1f033459d2b99c89.tar.bz2
otp-4009859d6a10cd73ba55d49f1f033459d2b99c89.zip
ssh: ssh_upgrade_SUITE
Diffstat (limited to 'lib/ssh/test')
-rw-r--r--lib/ssh/test/ssh_upgrade_SUITE.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ssh/test/ssh_upgrade_SUITE.erl b/lib/ssh/test/ssh_upgrade_SUITE.erl
index 5c7ec17dac..06bef2455e 100644
--- a/lib/ssh/test/ssh_upgrade_SUITE.erl
+++ b/lib/ssh/test/ssh_upgrade_SUITE.erl
@@ -146,7 +146,8 @@ setup_server_client(#state{config=Config} = State) ->
SFTP = ssh_sftpd:subsystem_spec([{root,FtpRootDir},{cwd,FtpRootDir}]),
- {Server,Host,Port} = ssh_test_lib:daemon([{system_dir,DataDir},
+ {Server,Host,Port} = ssh_test_lib:daemon(ssh_test_lib:inet_port(), % when lower rel is 18.x
+ [{system_dir,DataDir},
{user_passwords,[{"hej","hopp"}]},
{subsystems,[SFTP]}]),