File 0896-file_name_SUITE-Darwin-19-is-hopeless-too.patch of Package erlang
From 169b29c36bef9172d18add2297f1fff30c1ca2ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?John=20H=C3=B6gberg?= <john@erlang.org>
Date: Fri, 24 Apr 2020 09:49:20 +0200
Subject: [PATCH 1/2] file_name_SUITE: Darwin 19 is hopeless too
---
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 91dce39d12..7166064558 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 is exact in case newer
+ %% EILSEQ in 18. The check against 18..19 is exact in case newer
%% versions of Darwin support them again.
- Major < 9 orelse Major =:= 18;
+ Major < 9 orelse (Major >= 18 andalso Major =< 19);
_ ->
false
end.
--
2.16.4