File 8432-runtime_tools-sys_info_SUITE-sanity_check-needs-rele.patch of Package erlang

From 01f8c7cdb42eb176d66012de3d54968d9c1f4204 Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas@erlang.org>
Date: Fri, 17 Jun 2022 11:40:45 +0200
Subject: [PATCH 2/2] runtime_tools: sys_info_SUITE:sanity_check needs release

---
 lib/runtime_tools/Makefile                          | 1 +
 lib/runtime_tools/test/system_information_SUITE.erl | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/runtime_tools/Makefile b/lib/runtime_tools/Makefile
index a76637dfeb..b0dd18137b 100644
--- a/lib/runtime_tools/Makefile
+++ b/lib/runtime_tools/Makefile
@@ -37,5 +37,6 @@ SPECIAL_TARGETS =
 include $(ERL_TOP)/make/otp_subdir.mk
 
 DIA_PLT_APPS=mnesia
+TEST_NEEDS_RELEASE=true
 
 include $(ERL_TOP)/make/app_targets.mk
diff --git a/lib/runtime_tools/test/system_information_SUITE.erl b/lib/runtime_tools/test/system_information_SUITE.erl
index 824b9bc5f0..b8a8ca9a39 100644
--- a/lib/runtime_tools/test/system_information_SUITE.erl
+++ b/lib/runtime_tools/test/system_information_SUITE.erl
@@ -192,7 +192,7 @@ init_per_testcase(sanity_check, Config) ->
         {ok,<<"DEVELOPMENT",_/binary>>} ->
             {skip, "This is a development version, test might fail "
              "because of incorrect version numbers"};
-        {ok,S} ->
+        {ok,_S} ->
             Config
     end;
 init_per_testcase(_TestCase, Config) ->
-- 
2.35.3

openSUSE Build Service is sponsored by