Skip to content

Commit f1feb9e

Browse files
committed
Merge branch 'frazze/ssh/shell_exit_status_test_fix' into maint
* frazze/ssh/shell_exit_status_test_fix: ssh: fix ssh_basic_SUITE sequential shell_exit_status
2 parents 0885340 + db0ae06 commit f1feb9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ssh/test/ssh_basic_SUITE.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
]).
4444

4545
-export([
46-
always_ok/1,
46+
always_ok/0,
4747
app_test/1,
4848
appup_test/1,
4949
basic_test/1,
@@ -1487,7 +1487,7 @@ shell_exit_status(Config) when is_list(Config) ->
14871487
ssh_test_lib:receive_exec_end(ConnectionRef, ChannelId),
14881488
ssh:stop_daemon(Pid).
14891489

1490-
always_ok(_) -> ok.
1490+
always_ok() -> spawn(fun() -> exit(ok) end).
14911491

14921492
%%----------------------------------------------------------------------------
14931493
setopts_getopts(Config) ->

0 commit comments

Comments
 (0)