File 0717-ssh-Fix-start_shell_exec-to-call-correct-shell-exec-.patch of Package erlang
From 0169a29132aa8cec41e4c7fba608c11b012dd64d Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas@erlang.org>
Date: Fri, 30 Aug 2024 10:51:00 +0200
Subject: [PATCH 8/8] ssh: Fix start_shell_exec to call correct shell exec
function
---
lib/ssh/test/ssh_connection_SUITE.erl | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/ssh/test/ssh_connection_SUITE.erl b/lib/ssh/test/ssh_connection_SUITE.erl
index aea13b9f9e..11e6f95964 100644
--- a/lib/ssh/test/ssh_connection_SUITE.erl
+++ b/lib/ssh/test/ssh_connection_SUITE.erl
@@ -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"},
@@ -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).
--
2.43.0