diff options
author | Hans Nilsson <[email protected]> | 2017-04-07 15:16:56 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2017-04-07 15:16:56 +0200 |
commit | 3a29920a05cedee8c1f7501ee7b1aa22e068efed (patch) | |
tree | b9d7c89af83a12dbccc010e67c1f2472a1a8f8bf /lib/ssh/test/ssh_algorithms_SUITE.erl | |
parent | 90aacace4bdb1c883c3829bc66c1c616a81943d9 (diff) | |
parent | b89f06569ee24011a8535c57d6a82e336afeb5bf (diff) | |
download | otp-3a29920a05cedee8c1f7501ee7b1aa22e068efed.tar.gz otp-3a29920a05cedee8c1f7501ee7b1aa22e068efed.tar.bz2 otp-3a29920a05cedee8c1f7501ee7b1aa22e068efed.zip |
Merge branch 'hans/ssh/supervisors/OTP-14267'
Diffstat (limited to 'lib/ssh/test/ssh_algorithms_SUITE.erl')
-rw-r--r-- | lib/ssh/test/ssh_algorithms_SUITE.erl | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/lib/ssh/test/ssh_algorithms_SUITE.erl b/lib/ssh/test/ssh_algorithms_SUITE.erl index 6f75d83c4a..2990d1e02a 100644 --- a/lib/ssh/test/ssh_algorithms_SUITE.erl +++ b/lib/ssh/test/ssh_algorithms_SUITE.erl @@ -235,13 +235,12 @@ sshc_simple_exec_os_cmd(Config) -> Parent = self(), Client = spawn( fun() -> - Cmd = lists:concat(["ssh -p ",Port, - " -C" - " -o UserKnownHostsFile=",KnownHosts, - " -o StrictHostKeyChecking=no" - " ",Host," 1+1."]), - Result = os:cmd(Cmd), - ct:log("~p~n = ~p",[Cmd, Result]), + Result = ssh_test_lib:open_sshc(Host, Port, + [" -C" + " -o UserKnownHostsFile=",KnownHosts, + " -o StrictHostKeyChecking=no" + ], + " 1+1."), Parent ! {result, self(), Result, "2"} end), receive |