diff options
author | Lukas Larsson <lukas@erlang.org> | 2020-03-24 08:57:03 +0100 |
---|---|---|
committer | Lukas Larsson <lukas@erlang.org> | 2020-03-27 11:02:23 +0100 |
commit | c96181a48a57beba8156a1b3e1e9eff37a876b9d (patch) | |
tree | 86ea9a874b80f24ebde94b0fa315df07d10e078f /lib | |
parent | b01ae18938559c265cfe0a08a8848e8419f45a31 (diff) | |
download | erlang-c96181a48a57beba8156a1b3e1e9eff37a876b9d.tar.gz |
stdlib: Fix error cases in shell_docs tests
Diffstat (limited to 'lib')
-rw-r--r-- | lib/stdlib/test/shell_docs_SUITE.erl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/stdlib/test/shell_docs_SUITE.erl b/lib/stdlib/test/shell_docs_SUITE.erl index 629859a44f..d8241f7530 100644 --- a/lib/stdlib/test/shell_docs_SUITE.erl +++ b/lib/stdlib/test/shell_docs_SUITE.erl @@ -148,6 +148,11 @@ docsmap(Fun) -> case code:get_doc(Mod) of {error, missing} -> ok; + {error, cover_compiled} -> + ok; + {error, eacces} -> + %% This can happen in BSD's for some reason... + ok; {ok, Docs} -> Fun(Mod, Docs) end |