File 0828-Fix-typos-in-erts-test.patch of Package erlang
From 2e6c85e8889a857ffb0923eec62bc53bb67bb863 Mon Sep 17 00:00:00 2001
From: "Kian-Meng, Ang" <kianmeng@cpan.org>
Date: Mon, 29 Nov 2021 09:47:20 +0800
Subject: [PATCH] Fix typos in erts/test
---
erts/test/erl_print_SUITE.erl | 2 +-
erts/test/erlexec_SUITE.erl | 2 +-
erts/test/nt_SUITE.erl | 2 +-
erts/test/otp_SUITE.erl | 8 ++++----
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/erts/test/erl_print_SUITE.erl b/erts/test/erl_print_SUITE.erl
index 544d1a8dcb..100697be94 100644
--- a/erts/test/erl_print_SUITE.erl
+++ b/erts/test/erl_print_SUITE.erl
@@ -143,7 +143,7 @@ erlang_display(Config) when is_list(Config) ->
?line chk_display(mk_ref_xstr({e@f, oth_cre(MyCre)}, [1,2,3])),
?line chk_display(mk_ref_xstr({e@f, oth_cre(oth_cre(MyCre))}, [1,2,3])),
- %% Compund terms
+ %% Compound terms
?line {Pid, PidStr} = mk_pid_xstr({x@y, oth_cre(MyCre)}, 4712, 41),
?line {Port, PortStr} = mk_port_xstr({x@y, oth_cre(MyCre)}, 4712),
?line {Ref, RefStr} = mk_ref_xstr({e@f, oth_cre(MyCre)}, [11,12,13]),
diff --git a/erts/test/nt_SUITE.erl b/erts/test/nt_SUITE.erl
index b2a0445ec1..8e9fe39b8b 100644
--- a/erts/test/nt_SUITE.erl
+++ b/erts/test/nt_SUITE.erl
@@ -223,7 +223,7 @@ user_env(Config) when is_list(Config) ->
?line remove_service(Name),
ok.
synced(doc) ->
- ["Check that services are stopped and started syncronous and that"++
+ ["Check that services are stopped and started synchronous and that"++
" failed stopactions kill the erlang machine anyway."];
synced(suite) -> [];
synced(Config) when is_list(Config) ->
diff --git a/erts/test/otp_SUITE.erl b/erts/test/otp_SUITE.erl
index 54decdb57c..a87a4d2655 100644
--- a/erts/test/otp_SUITE.erl
+++ b/erts/test/otp_SUITE.erl
@@ -142,7 +142,7 @@ wx_filter(Undef) ->
end.
diameter_filter(Undef) ->
- %% Filter away function calls that are catched.
+ %% Filter away function calls that are caught.
filter(fun({{diameter_lib,_,_},{erlang,convert_time_unit,3}}) ->
false;
({{diameter_lib,_,_},{erlang,monotonic_time,0}}) ->
--
2.31.1