File 0552-stdlib-Fix-shell-docs-test-on-bsd.patch of Package erlang

From 1da4ceee4f7824950aef3e20cbac2486c18ef544 Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas@erlang.org>
Date: Tue, 8 Jun 2021 10:07:54 +0200
Subject: [PATCH] stdlib: Fix shell docs test on bsd

---
 lib/stdlib/test/shell_docs_SUITE.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/stdlib/test/shell_docs_SUITE.erl b/lib/stdlib/test/shell_docs_SUITE.erl
index 986ed8d794..06a564620e 100644
--- a/lib/stdlib/test/shell_docs_SUITE.erl
+++ b/lib/stdlib/test/shell_docs_SUITE.erl
@@ -324,7 +324,7 @@ docsmap(Fun) ->
                       ok;
                   {error, cover_compiled} ->
                       ok;
-                  {error, E} when E =:= eperm; E =:= eacces ->
+                  {error, E} when E =:= eperm; E =:= eacces; E =:= eio ->
                       %% This can happen in BSD's for some reason...
                       ok;
                   {error, eisdir} ->
-- 
2.26.2

openSUSE Build Service is sponsored by