File 3542-sasl-Fix-release_handler_SUITE-client1-trace-allow-l.patch of Package erlang
From f16efd5ee7f4c96c554547b415cefb098c98716f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lukas=20Backstr=C3=B6m?= <lukas@erlang.org>
Date: Wed, 20 Nov 2024 13:40:49 +0100
Subject: [PATCH] sasl: Fix release_handler_SUITE:client1 trace allow list
The PR #8744 instroduced a call to read_file_info that needs to
be allowed for the testcase to pass.
---
lib/sasl/test/installer.erl | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/sasl/test/installer.erl b/lib/sasl/test/installer.erl
index 05b0156574..252dcf0a1b 100644
--- a/lib/sasl/test/installer.erl
+++ b/lib/sasl/test/installer.erl
@@ -885,6 +885,9 @@ trace_disallowed_calls(Node) ->
check_disallowed_calls(TestNode,Line) ->
receive
+ {trace,_,call,{file,read_file_info,["/bin/sh",[raw]]},{os,internal_init_cmd_shell,1}} ->
+ %% This call is done when kernel is started/reloaded and is ok
+ ok;
Trace when element(1,Trace)==trace ->
?print_line(Line,["Disallowed function called",Trace]),
exit({disallowed_function_call,Trace})
--
2.43.0