Skip to content

Commit

Permalink
sasl: Fix release_handler_SUITE:client1 trace allow list
Browse files Browse the repository at this point in the history
The PR erlang#8744 instroduced a call to read_file_info that needs to
be allowed for the testcase to pass.
  • Loading branch information
garazdawi committed Nov 20, 2024
1 parent 41cdd4b commit 7a907d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/sasl/test/installer.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit 7a907d5

Please sign in to comment.