Skip to content

Commit

Permalink
see what type of output I get
Browse files Browse the repository at this point in the history
  • Loading branch information
frazze-jobb committed Oct 9, 2024
1 parent 07519c4 commit 949f431
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/ssh/test/ssh_connection_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1565,7 +1565,9 @@ stop_listener(Config) when is_list(Config) ->
receive
{ssh_cm, ConnectionRef0,
{data, ChannelId0, 0, <<"echo testing\n">>}} ->
ok
ok;
R -> ct:fail("Unexpected: ~p, Expected ~p",[R, <<"echo testing\n">>])

after 5000 ->
ct:fail("Exec Timeout")
end,
Expand Down Expand Up @@ -1795,7 +1797,8 @@ do_simple_exec(ConnectionRef, N) ->
%% receive response to input
receive
{ssh_cm, ConnectionRef, {data, ChannelId0, 0, ExpectedBin}} ->
ok
ok;
R -> ct:fail("Unexpected reply: ~p, Expected: ~p",[R, ExpectedBin])
after
10000 -> ct:fail("timeout ~p:~p",[?MODULE,?LINE])
end;
Expand Down

0 comments on commit 949f431

Please sign in to comment.