aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2019-01-18 09:41:58 +0100
committerHans Bolinder <[email protected]>2019-01-18 09:41:58 +0100
commit75e0c601890d9561b103936479de0483cbcafd9d (patch)
tree21c1fb14ea78233f7978d12accb9d0ebff8a3967 /lib/ssh/test
parent2a95d46dd626b0acc57e79b596d00dea01f8270a (diff)
parent2cc0d84b1ed8642521579975155c84d76c5866a4 (diff)
downloadotp-75e0c601890d9561b103936479de0483cbcafd9d.tar.gz
otp-75e0c601890d9561b103936479de0483cbcafd9d.tar.bz2
otp-75e0c601890d9561b103936479de0483cbcafd9d.zip
Merge branch 'hasse/fix_calls_to_io_format'
* hasse/fix_calls_to_io_format: ssh: Adjust some calls to io:format() xmerl: Adjust a call to io:format() sasl: Adjust some calls to io:format() common_test: 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).