aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2018-09-14 10:27:12 +0200
committerHans Bolinder <[email protected]>2019-01-17 09:51:34 +0100
commit2cc0d84b1ed8642521579975155c84d76c5866a4 (patch)
tree0c93daa9c276eb33db3c4e12032e67ebdd97722b /lib/ssh/test
parentf204804473fb73dd98158e6d5823db3ea0894cf7 (diff)
downloadotp-2cc0d84b1ed8642521579975155c84d76c5866a4.tar.gz
otp-2cc0d84b1ed8642521579975155c84d76c5866a4.tar.bz2
otp-2cc0d84b1ed8642521579975155c84d76c5866a4.zip
ssh: Adjust some calls to io:format()
Diffstat (limited to 'lib/ssh/test')
-rw-r--r--lib/ssh/test/ssh_connection_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssh/test/ssh_connection_SUITE.erl b/lib/ssh/test/ssh_connection_SUITE.erl
index 778e4a5fc8..6aa587dc7f 100644
--- a/lib/ssh/test/ssh_connection_SUITE.erl
+++ b/lib/ssh/test/ssh_connection_SUITE.erl
@@ -1124,12 +1124,12 @@ start_our_shell(_User, _Peer) ->
ssh_exec_echo(Cmd) ->
spawn(fun() ->
- io:format("echo "++Cmd ++ "\n")
+ io:format("echo ~s\n", [Cmd])
end).
ssh_exec_echo(Cmd, User) ->
spawn(fun() ->
- io:format(io_lib:format("echo ~s ~s\n",[User,Cmd]))
+ io:format("echo ~s ~s\n",[User,Cmd])
end).
ssh_exec_echo(Cmd, User, _PeerAddr) ->
ssh_exec_echo(Cmd,User).