File 3731-shell_SUITE-Stop-calling-global-sync-0.patch of Package erlang
From 5c7ba38f94cd739e74dd98ce324ca99dcac51239 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org>
Date: Mon, 18 Oct 2021 08:22:35 +0200
Subject: [PATCH] shell_SUITE: Stop calling global:sync/0
shell_SUITE does not use global, so there is no need to call
global:sync/0.
---
lib/stdlib/test/shell_SUITE.erl | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/lib/stdlib/test/shell_SUITE.erl b/lib/stdlib/test/shell_SUITE.erl
index adfb746be1..41cac50008 100644
--- a/lib/stdlib/test/shell_SUITE.erl
+++ b/lib/stdlib/test/shell_SUITE.erl
@@ -3234,9 +3234,7 @@ filename(Name, Config) ->
filename:join(proplists:get_value(priv_dir, Config), Name).
start_node(Name, Xargs) ->
- N = test_server:start_node(Name, slave, [{args, " " ++ Xargs}]),
- global:sync(),
- N.
+ test_server:start_node(Name, slave, [{args, " " ++ Xargs}]).
purge_and_delete(Module) ->
(catch code:purge(Module)),
--
2.31.1