File 0743-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
@@ -123,7 +123,7 @@ erlang_display(Config) when is_list(Config) ->
     chk_display(mk_ref_xstr({e@f, oth_cre(MyCre)}, [1,2,3])),
     chk_display(mk_ref_xstr({e@f, oth_cre(oth_cre(MyCre))}, [1,2,3])),
 
-    %% Compund terms
+    %% Compound terms
     {Pid, PidStr} = mk_pid_xstr({x@y, oth_cre(MyCre)}, 4712, 41),
     {Port, PortStr} = mk_port_xstr({x@y, oth_cre(MyCre)}, 4712),
     {Ref, RefStr} = mk_ref_xstr({e@f, oth_cre(MyCre)}, [11,12,13]),
diff --git a/erts/test/erlexec_SUITE.erl b/erts/test/erlexec_SUITE.erl
index 113f6e1ceb..e0ccc9aaa0 100644
--- a/erts/test/erlexec_SUITE.erl
+++ b/erts/test/erlexec_SUITE.erl
@@ -79,7 +79,7 @@ argument_separation(Config) when is_list(Config) ->
     {ok,[[]]} = rpc:call(SName,init,get_argument,[atest]),
     {ok,[[]]} = rpc:call(SName,init,get_argument,[cmd_test]),
     {ok,[[]]} = rpc:call(SName,init,get_argument,[test]),
-    error = rpc:call(SName,init,get_argument,[unkown]),
+    error = rpc:call(SName,init,get_argument,[unknown]),
     ["cmd_param","env_param","zenv_param"] = rpc:call(SName,init,get_plain_arguments,[]),
     ok = cleanup_nodes(),
     ok.
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
@@ -195,7 +195,7 @@ user_env(Config) when is_list(Config) ->
     remove_service(Name),
     ok.
 
-%% 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(Config) when is_list(Config) ->
     Name0 = "test_service_4",
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

openSUSE Build Service is sponsored by