File 1805-megaco-Fix-copyright-end-date-and-cleanup.patch of Package erlang
From a19f1ae615f696b62c4675a6b6a72db5dca475e8 Mon Sep 17 00:00:00 2001
From: Micael Karlberg <bmk@erlang.org>
Date: Mon, 7 Apr 2025 17:30:50 +0200
Subject: [PATCH 5/7] [megaco] Fix copyright end date and cleanup
---
lib/megaco/examples/meas/megaco_codec_mstone1.erl | 2 +-
lib/megaco/test/megaco_examples_SUITE.erl | 2 +-
lib/megaco/test/megaco_test_lib.erl | 5 +----
3 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/lib/megaco/examples/meas/megaco_codec_mstone1.erl b/lib/megaco/examples/meas/megaco_codec_mstone1.erl
index 26ffc9fa57..d22aec7b1b 100644
--- a/lib/megaco/examples/meas/megaco_codec_mstone1.erl
+++ b/lib/megaco/examples/meas/megaco_codec_mstone1.erl
@@ -148,7 +148,7 @@ start(MessagePackage, RunTime, Factor) ->
-doc false.
start(#{bench := Bench},
- MessagePackage, RunTime, Factor) ->
+ MessagePackage, RunTime, Factor) when is_boolean(Bench) ->
do_start(Bench,
MessagePackage, RunTime, Factor, ?DEFAULT_DRV_INCLUDE);
start(_,
diff --git a/lib/megaco/test/megaco_examples_SUITE.erl b/lib/megaco/test/megaco_examples_SUITE.erl
index f5ff36d58b..04d03be09f 100644
--- a/lib/megaco/test/megaco_examples_SUITE.erl
+++ b/lib/megaco/test/megaco_examples_SUITE.erl
@@ -3,7 +3,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2001-2022. All Rights Reserved.
+%% Copyright Ericsson AB 2001-2025. 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.
diff --git a/lib/megaco/test/megaco_test_lib.erl b/lib/megaco/test/megaco_test_lib.erl
index a5faa29bd1..ba1d1e100c 100644
--- a/lib/megaco/test/megaco_test_lib.erl
+++ b/lib/megaco/test/megaco_test_lib.erl
@@ -3,7 +3,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1999-2024. All Rights Reserved.
+%% Copyright Ericsson AB 1999-2025. 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.
@@ -2752,9 +2752,6 @@ try_tc(TCName, Name, Verbosity, Cond, Pre, Case, Post)
Post(State)
end),
tc_end("ok"),
- io:format("~w:~w -> "
- "~n Res: ~p"
- "~n", [?MODULE, ?FUNCTION_NAME, Res]),
Res
end
catch
--
2.43.0