File 4724-Don-t-leak-os-processes-in-tests.patch of Package erlang

From 82c3c04033210ad7dbb16abac78bcbbd3344765c Mon Sep 17 00:00:00 2001
From: Dan Gudmundsson <dgud@erlang.org>
Date: Tue, 16 Jun 2020 08:56:50 +0200
Subject: [PATCH 5/5] Don't leak os processes in tests

---
 lib/stdlib/test/shell_SUITE.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/stdlib/test/shell_SUITE.erl b/lib/stdlib/test/shell_SUITE.erl
index 0f42e4632f..4d7a2ea078 100644
--- a/lib/stdlib/test/shell_SUITE.erl
+++ b/lib/stdlib/test/shell_SUITE.erl
@@ -2944,7 +2944,7 @@ otp_14296(Config) when is_list(Config) ->
     end(),
 
     fun() ->
-            Port = open_port({spawn, "erl"}, [{line,1}]),
+            Port = open_port({spawn, "erl -s erlang halt"}, [{line,1}]),
             KnownPort = erlang:port_to_list(Port),
             S = KnownPort ++ ".",
             R = KnownPort ++ ".\n",
-- 
2.26.2

openSUSE Build Service is sponsored by