Skip to content

Commit

Permalink
ssh: Fix start_shell_exec to call correct shell exec function
Browse files Browse the repository at this point in the history
  • Loading branch information
garazdawi committed Aug 30, 2024
1 parent 5d60d56 commit bdc79da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/ssh/test/ssh_connection_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,7 @@ start_shell_exec(Config) when is_list(Config) ->
{Pid, Host, Port} = ssh_test_lib:daemon([{system_dir, SysDir},
{user_dir, UserDir},
{password, "morot"},
{exec, {?MODULE,ssh_exec_echo,[]}} ]),
{exec, {?MODULE,ssh_exec_echo,["foo"]}} ]),

ConnectionRef = ssh_test_lib:connect(Host, Port, [{silently_accept_hosts, true},
{user, "foo"},
Expand Down Expand Up @@ -1153,8 +1153,8 @@ start_exec_direct_fun1_read_write_advanced(Config) ->
after 5000 -> go_on
end,
receive
X -> ct:fail("remaining messages"),
ct:log("remaining message: ~p",[X])
X -> ct:log("remaining message: ~p",[X]),
ct:fail("remaining messages")
after 0 -> go_on
end,
ssh:stop_daemon(Pid).
Expand Down

0 comments on commit bdc79da

Please sign in to comment.