File 0241-Fix-test-case-that-started-to-fail-because-of-bf115e.patch of Package erlang

From 86d7161bbcf7d3c0f6f1617b948c0de82456a73c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org>
Date: Thu, 25 Nov 2021 13:58:45 +0100
Subject: [PATCH] Fix test case that started to fail because of
 bf115ee06a90a7d9a

---
 erts/emulator/test/exception_SUITE.erl | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/erts/emulator/test/exception_SUITE.erl b/erts/emulator/test/exception_SUITE.erl
index f31ffbd573..80fc35d2be 100644
--- a/erts/emulator/test/exception_SUITE.erl
+++ b/erts/emulator/test/exception_SUITE.erl
@@ -145,6 +145,12 @@ pending({badarg,[{erlang,Bif,BifArgs,Loc1},
   when is_atom(Bif), is_list(BifArgs), length(Args) =:= Arity,
        is_list(Loc1), is_list(Loc2) ->
     ok;
+pending({badarith,[{erlang,Bif,BifArgs,Loc1},
+                   {?MODULE,Func,Arity,Loc2}|_]},
+        Func, Args, _Code)
+  when is_atom(Bif), is_list(BifArgs), length(Args) =:= Arity,
+       is_list(Loc1), is_list(Loc2) ->
+    ok;
 pending({undef,[{non_existing_module,foo,[],Loc}|_]}, _, _, _)
   when is_list(Loc) ->
     ok;
-- 
2.31.1

openSUSE Build Service is sponsored by