Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang
6034-ct-Strip-_latest-from-release-strings-in-c...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 6034-ct-Strip-_latest-from-release-strings-in-ct-peer-nod.patch of Package erlang
From 47a39d6bac1c566f93c27306fabd6f39915164ce Mon Sep 17 00:00:00 2001 From: Lukas Larsson <lukas@erlang.org> Date: Thu, 7 Jul 2022 09:31:41 +0200 Subject: [PATCH 4/5] ct: Strip _latest from release strings in ct peer nodes --- lib/common_test/src/test_server_node.erl | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/lib/common_test/src/test_server_node.erl b/lib/common_test/src/test_server_node.erl index c8dc0fb27c..5d9ba008f4 100644 --- a/lib/common_test/src/test_server_node.erl +++ b/lib/common_test/src/test_server_node.erl @@ -467,7 +467,17 @@ find_release(previous) -> find_release(Rel) -> case find_release(os:type(), Rel) of none -> - find_release_path(Rel); + case find_release_path(Rel) of + none -> + case string:take(Rel,"_",true) of + {Rel,[]} -> + false; + {RelNum,_} -> + find_release_path(RelNum) + end; + Release -> + Release + end; Else -> Else end. -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor