File 1309-ct-remove-Windows-line-endings-in-test-code.patch of Package erlang

From 87e6e270d78e883f59398f75686534ac3e5aa41c Mon Sep 17 00:00:00 2001
From: Jakub Witczak <kuba@erlang.org>
Date: Fri, 30 Jun 2023 09:54:58 +0200
Subject: [PATCH 1/6] ct: remove Windows line endings in test code

---
 .../cth/tests/ct_cth_prio_SUITE.erl           | 104 +++++++++---------
 1 file changed, 52 insertions(+), 52 deletions(-)

diff --git a/lib/common_test/test/ct_hooks_SUITE_data/cth/tests/ct_cth_prio_SUITE.erl b/lib/common_test/test/ct_hooks_SUITE_data/cth/tests/ct_cth_prio_SUITE.erl
index 0de27621bb..c06c701e2a 100644
--- a/lib/common_test/test/ct_hooks_SUITE_data/cth/tests/ct_cth_prio_SUITE.erl
+++ b/lib/common_test/test/ct_hooks_SUITE_data/cth/tests/ct_cth_prio_SUITE.erl
@@ -1,8 +1,8 @@
-%%
-%% %CopyrightBegin%
-%%
-%% Copyright Ericsson AB 2010-2016. All Rights Reserved.
-%%
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2010-2023. All Rights Reserved.
+%%
 %% Licensed under the Apache License, Version 2.0 (the "License");
 %% you may not use this file except in compliance with the License.
 %% You may obtain a copy of the License at
@@ -14,50 +14,50 @@
 %% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 %% See the License for the specific language governing permissions and
 %% limitations under the License.
-%%
-%% %CopyrightEnd%
-%%
-
--module(ct_cth_prio_SUITE).
-
-%% Note: This directive should only be used in test suites.
--compile(export_all).
-
--include("ct.hrl").
-
-suite() ->
-    ([{timetrap, {minutes, 10}},
-      {ct_hooks, [{empty_cth,[800],800},
-		  {prio_cth,[1200]},{prio_cth,[1200,1050],1050}]}]).
-
-%% Test server callback functions
-init_per_suite(Config) ->
-    [{ct_hooks, [{empty_cth,[700],700},
-		 {prio_cth,[600,600]},
-		 {prio_cth,[600,200],200}]}|Config].
-
-end_per_suite(_Config) ->
-    ok.
-
-init_per_group(_G, Config) ->
-    [{ct_hooks, [{empty_cth,[600],600},
-		 {prio_cth,[900,900]},{prio_cth,[500,900],900}]}|Config].
-
-end_per_group(_G, _Config) ->
-    ok.
-
-init_per_testcase(_TestCase, Config) ->
-    Config.
-
-end_per_testcase(_TestCase, _Config) ->
-    ok.
-
-all() ->
-    [{group,test_group}].
-
-groups() ->
-    [{test_group,[],[test_case]}].
-
-%% Test cases starts here.
-test_case(Config) when is_list(Config) ->
-    ok.
+%%
+%% %CopyrightEnd%
+%%
+
+-module(ct_cth_prio_SUITE).
+
+%% Note: This directive should only be used in test suites.
+-compile(export_all).
+
+-include("ct.hrl").
+
+suite() ->
+    ([{timetrap, {minutes, 10}},
+      {ct_hooks, [{empty_cth,[800],800},
+		  {prio_cth,[1200]},{prio_cth,[1200,1050],1050}]}]).
+
+%% Test server callback functions
+init_per_suite(Config) ->
+    [{ct_hooks, [{empty_cth,[700],700},
+		 {prio_cth,[600,600]},
+		 {prio_cth,[600,200],200}]}|Config].
+
+end_per_suite(_Config) ->
+    ok.
+
+init_per_group(_G, Config) ->
+    [{ct_hooks, [{empty_cth,[600],600},
+		 {prio_cth,[900,900]},{prio_cth,[500,900],900}]}|Config].
+
+end_per_group(_G, _Config) ->
+    ok.
+
+init_per_testcase(_TestCase, Config) ->
+    Config.
+
+end_per_testcase(_TestCase, _Config) ->
+    ok.
+
+all() ->
+    [{group,test_group}].
+
+groups() ->
+    [{test_group,[],[test_case]}].
+
+%% Test cases starts here.
+test_case(Config) when is_list(Config) ->
+    ok.
-- 
2.35.3

openSUSE Build Service is sponsored by