File 1244-file_name_SUITE-Add-Darwin-20-to-the-hopeless-versio.patch of Package erlang

From ac66041a33ce6d6ee6cea38c0252863037c2e063 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org>
Date: Fri, 18 Jun 2021 09:40:22 +0200
Subject: [PATCH 4/4] file_name_SUITE: Add Darwin 20 to the hopeless versions

The bug is still not fixed in Darwin 20.x (macOS 11/Big Sur).
---
 lib/kernel/test/file_name_SUITE.erl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/kernel/test/file_name_SUITE.erl b/lib/kernel/test/file_name_SUITE.erl
index 7166064558..41f5d37678 100644
--- a/lib/kernel/test/file_name_SUITE.erl
+++ b/lib/kernel/test/file_name_SUITE.erl
@@ -634,9 +634,9 @@ hopeless_darwin() ->
     case {os:type(),os:version()} of
         {{unix,darwin},{Major,_,_}} ->
             %% icky file names worked between 10 and 17, but started returning
-            %% EILSEQ in 18. The check against 18..19 is exact in case newer
+            %% EILSEQ in 18. The check against 18..20 is exact in case newer
             %% versions of Darwin support them again.
-            Major < 9 orelse (Major >= 18 andalso Major =< 19);
+            Major < 9 orelse (Major >= 18 andalso Major =< 20);
         _ ->
             false
     end.
-- 
2.26.2

openSUSE Build Service is sponsored by