File 0836-beam_lib_SUITE-debugger_SUITE-Don-t-skip-test-of-enc.patch of Package erlang
From 75b26f8e00c6be2475c13501749e7f003c2714fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org>
Date: Wed, 25 Sep 2019 12:52:32 +0200
Subject: [PATCH 1/4] beam_lib_SUITE, debugger_SUITE: Don't skip test of
encrypted debug info
Don't call the removed function crypto:info/0.
---
lib/debugger/test/debugger_SUITE.erl | 2 +-
lib/stdlib/test/beam_lib_SUITE.erl | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/debugger/test/debugger_SUITE.erl b/lib/debugger/test/debugger_SUITE.erl
index c72f154928..ae8e1402f1 100644
--- a/lib/debugger/test/debugger_SUITE.erl
+++ b/lib/debugger/test/debugger_SUITE.erl
@@ -91,7 +91,7 @@ no_abstract_code(Config) when is_list(Config) ->
ok.
encrypted_debug_info(Config) when is_list(Config) ->
- try begin crypto:start(), crypto:info(), crypto:stop(), ok end of
+ try begin crypto:start(), crypto:stop(), ok end of
ok ->
encrypted_debug_info_1(Config)
catch
diff --git a/lib/stdlib/test/beam_lib_SUITE.erl b/lib/stdlib/test/beam_lib_SUITE.erl
index 4b2694320e..1c89c1e828 100644
--- a/lib/stdlib/test/beam_lib_SUITE.erl
+++ b/lib/stdlib/test/beam_lib_SUITE.erl
@@ -891,7 +891,7 @@ simple_file(File, Module, F) ->
ok = file:write_file(File, B).
run_if_crypto_works(Test) ->
- try begin crypto:start(), crypto:info(), crypto:stop(), ok end of
+ try begin crypto:start(), crypto:stop(), ok end of
ok ->
Test()
catch
--
2.16.4