aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-02-22 15:19:00 +0100
committerHans Nilsson <[email protected]>2018-02-27 16:22:22 +0100
commit4125586046b8b0cd1e8a11879f960d212ce53c82 (patch)
tree08779f1883886294c176e35870412a4dc5fb1174 /lib/ssh
parent6ecc0d6242af58d0d8abe6914e7969201e0ac67d (diff)
downloadotp-4125586046b8b0cd1e8a11879f960d212ce53c82.tar.gz
otp-4125586046b8b0cd1e8a11879f960d212ce53c82.tar.bz2
otp-4125586046b8b0cd1e8a11879f960d212ce53c82.zip
ssh: Fix cli testcase
Diffstat (limited to 'lib/ssh')
-rw-r--r--lib/ssh/test/ssh_basic_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssh/test/ssh_basic_SUITE.erl b/lib/ssh/test/ssh_basic_SUITE.erl
index 5d5591194b..d16b169da3 100644
--- a/lib/ssh/test/ssh_basic_SUITE.erl
+++ b/lib/ssh/test/ssh_basic_SUITE.erl
@@ -764,11 +764,11 @@ cli(Config) when is_list(Config) ->
{ok, ChannelId} = ssh_connection:session_channel(ConnectionRef, infinity),
ssh_connection:shell(ConnectionRef, ChannelId),
- ok = ssh_connection:send(ConnectionRef, ChannelId, <<"q">>),
+ ssh_connection:send(ConnectionRef, ChannelId, <<"q">>),
receive
{ssh_cm, ConnectionRef,
{data,0,0, <<"\r\nYou are accessing a dummy, type \"q\" to exit\r\n\n">>}} ->
- ok = ssh_connection:send(ConnectionRef, ChannelId, <<"q">>)
+ ssh_connection:send(ConnectionRef, ChannelId, <<"q">>)
after
30000 -> ct:fail("timeout ~p:~p",[?MODULE,?LINE])
end,