File 1329-Fix-typos-in-lib-common_test.patch of Package erlang

From 70fce49ea9decbbcd049c42e999a83be8d0ed790 Mon Sep 17 00:00:00 2001
From: "Kian-Meng, Ang" <kianmeng@cpan.org>
Date: Sun, 5 Dec 2021 06:21:00 +0800
Subject: [PATCH] Fix typos in lib/common_test

---
 lib/common_test/doc/src/basics_chapter.xml    |  2 +-
 lib/common_test/doc/src/ct.xml                |  4 ++--
 lib/common_test/doc/src/ct_hooks.xml          |  2 +-
 lib/common_test/doc/src/ct_hooks_chapter.xml  |  4 ++--
 lib/common_test/doc/src/ct_netconfc.xml       |  4 ++--
 lib/common_test/doc/src/ct_property_test.xml  |  2 +-
 lib/common_test/doc/src/ct_ssh.xml            |  2 +-
 lib/common_test/doc/src/ct_suite.xml          |  2 +-
 .../doc/src/dependencies_chapter.xml          |  2 +-
 .../doc/src/event_handler_chapter.xml         |  2 +-
 lib/common_test/doc/src/notes.xml             | 20 +++++++++----------
 lib/common_test/doc/src/unix_telnet.xml       |  2 +-
 .../doc/src/write_test_chapter.xml            |  2 +-
 lib/common_test/src/ct_config.erl             |  2 +-
 lib/common_test/src/ct_framework.erl          |  4 ++--
 lib/common_test/src/ct_gen_conn.erl           |  2 +-
 lib/common_test/src/ct_groups.erl             |  2 +-
 lib/common_test/src/ct_hooks.erl              |  6 +++---
 lib/common_test/src/ct_logs.erl               |  2 +-
 lib/common_test/src/ct_netconfc.erl           |  2 +-
 lib/common_test/src/ct_release_test.erl       | 12 +++++------
 lib/common_test/src/ct_snmp.erl               |  2 +-
 lib/common_test/src/ct_telnet.erl             |  4 ++--
 lib/common_test/src/erl2html2.erl             |  2 +-
 lib/common_test/src/test_server.erl           | 10 +++++-----
 lib/common_test/src/test_server_ctrl.erl      | 18 ++++++++---------
 lib/common_test/src/test_server_node.erl      |  2 +-
 lib/common_test/src/test_server_sup.erl       |  4 ++--
 .../cth_auto_clean.erl                        |  2 +-
 lib/common_test/test/ct_error_SUITE.erl       |  2 +-
 .../error/test/timetrap_8_SUITE.erl           |  4 ++--
 .../group_leader_SUITE.erl                    |  2 +-
 lib/common_test/test/ct_hooks_SUITE.erl       |  2 +-
 .../netconfc1_SUITE.erl                       |  4 ++--
 .../netconfc_remote_SUITE.erl                 |  2 +-
 .../ct_telnet_basic_SUITE.erl                 |  2 +-
 .../ct_telnet_timetrap_SUITE.erl              |  2 +-
 lib/common_test/test_server/ts.erl            |  8 ++++----
 38 files changed, 77 insertions(+), 77 deletions(-)

diff --git a/lib/common_test/doc/src/basics_chapter.xml b/lib/common_test/doc/src/basics_chapter.xml
index 8f0a5acf45..86d70093b8 100644
--- a/lib/common_test/doc/src/basics_chapter.xml
+++ b/lib/common_test/doc/src/basics_chapter.xml
@@ -63,7 +63,7 @@
       provides implementations of, and wrapper interfaces to, some of these
       protocols (most of which exist as standalone components and
       applications in OTP). The wrappers simplify configuration and add
-      verbosity for logging purposes. <c>Common Test</c> is continously extended with
+      verbosity for logging purposes. <c>Common Test</c> is continuously extended with
       useful support modules. However, notice that it is
       a straightforward task to use any Erlang/OTP component
       for testing purposes with <c>Common Test</c>, without needing a <c>Common Test</c> 
diff --git a/lib/common_test/doc/src/ct.xml b/lib/common_test/doc/src/ct.xml
index 366d856e08..8f398a6e7f 100644
--- a/lib/common_test/doc/src/ct.xml
+++ b/lib/common_test/doc/src/ct.xml
@@ -649,7 +649,7 @@
           case. <c>Scaling</c> indicates if <c>Common Test</c> will attempt
           to compensate timetraps automatically for runtime delays
           introduced by, for example, tools like cover. <c>ScaleVal</c> is
-	  the value of the current scaling multipler (always 1 if scaling is
+	  the value of the current scaling multiplier (always 1 if scaling is
 	  disabled). Note the <c>Time</c> is not the scaled result.</p>
       </desc>
     </func>
@@ -1192,7 +1192,7 @@
  {machine,[{node,[{telnet,IpAddr},{ftp,IpAddr}]}]}.</pre>
 
         <note><p>The behavior of this function changed radically in
-          <c>Common Test</c> 1.6.2. To keep some backwards compatability,
+          <c>Common Test</c> 1.6.2. To keep some backwards compatibility,
           it is still possible to do:<br/>
           <c>ct:require(a,{node,[telnet,ftp]}).</c><br/>
           This associates the name <c>a</c> with the top-level <c>node</c>
diff --git a/lib/common_test/doc/src/ct_hooks.xml b/lib/common_test/doc/src/ct_hooks.xml
index 875efec305..9189492f0b 100644
--- a/lib/common_test/doc/src/ct_hooks.xml
+++ b/lib/common_test/doc/src/ct_hooks.xml
@@ -678,7 +678,7 @@
         <list type="bulleted">
           <item><p>If <c>init_per_suite</c> fails, this function is called after
             <seealso marker="#Module:post_init_per_suite-4"><c>post_init_per_suite</c></seealso>.</p></item>
-          <item><p>If a test case fails, this funcion is called after
+          <item><p>If a test case fails, this function is called after
           <seealso marker="#Module:post_end_per_testcase-5"><c>post_end_per_testcase</c></seealso>.</p></item>
         </list>
 
diff --git a/lib/common_test/doc/src/ct_hooks_chapter.xml b/lib/common_test/doc/src/ct_hooks_chapter.xml
index a4c72c1fa4..16a3770b23 100644
--- a/lib/common_test/doc/src/ct_hooks_chapter.xml
+++ b/lib/common_test/doc/src/ct_hooks_chapter.xml
@@ -317,7 +317,7 @@
        {proplists:delete(tc_status, Config), CTHState};
      false ->
        %% DB is not good, mark as skipped instead of failing
-       {{skip, "DB is inconsisten!"}, CTHState}
+       {{skip, "DB is inconsistent!"}, CTHState}
    end;
  post_end_per_testcase(_Suite, _TC, Config, Return, CTHState) -&gt;
    %% Do nothing if tc does not crash.
@@ -505,7 +505,7 @@
        <p>Captures all <c>error_logger</c> and SASL logging
 	events and prints them to the current test case log. If an event cannot be 
 	associated with a test case, it is printed in the <c>Common Test</c> framework log. 
-	This happens for test cases running in parallel and events occuring
+	This happens for test cases running in parallel and events occurring
 	in-between test cases. You can configure the level of
 	<seealso marker="sasl:sasl_app">SASL</seealso> events report
 	using the normal SASL mechanisms.</p>
diff --git a/lib/common_test/doc/src/ct_netconfc.xml b/lib/common_test/doc/src/ct_netconfc.xml
index 3f764a49d8..f5fd2165c9 100644
--- a/lib/common_test/doc/src/ct_netconfc.xml
+++ b/lib/common_test/doc/src/ct_netconfc.xml
@@ -697,7 +697,7 @@
 
         <p>Which target parameters that can be used depends on if
           <c>:candidate</c> and/or <c>:startup</c> are supported by the
-          server. If successfull, the configuration system of the device is
+          server. If successful, the configuration system of the device is
           unavailable to other clients (NETCONF, CORBA, SNMP, and so on).
           Locks are intended to be short-lived.</p>
 
diff --git a/lib/common_test/doc/src/ct_ssh.xml b/lib/common_test/doc/src/ct_ssh.xml
index 7659dc986d..9470d76009 100644
--- a/lib/common_test/doc/src/ct_ssh.xml
+++ b/lib/common_test/doc/src/ct_ssh.xml
@@ -171,7 +171,7 @@
 
     <func>
       <name>aread(SSH, Server, Handle, Len) -&gt; Result</name>
-      <fsummary>For inforamtion and other types, see ssh_sftp(3).</fsummary>
+      <fsummary>For information and other types, see ssh_sftp(3).</fsummary>
       <type>
         <v>SSH = connection()</v>
         <v>Result = ssh_sftp_return() | {error, Reason}</v>
diff --git a/lib/common_test/doc/src/common_test_app.xml b/lib/common_test/doc/src/common_test_app.xml
index 0289a569f0..0171e8add2 100644
--- a/lib/common_test/doc/src/common_test_app.xml
+++ b/lib/common_test/doc/src/common_test_app.xml
@@ -195,7 +195,7 @@
 	  required by test cases (or configuration functions)
 	  in the suite. If the required configuration variables are not found
 	  in any of the configuration files, all test cases are skipped.
-	  For details about the <c>require</c> functionality, see funtion
+	  For details about the <c>require</c> functionality, see function
 	  <seealso marker="ct#require-1"><c>ct:require/1,2</c></seealso>.</p>
 
 	<p>With <c>userdata</c>, the user can
diff --git a/lib/common_test/doc/src/dependencies_chapter.xml b/lib/common_test/doc/src/dependencies_chapter.xml
index 0a0f4c562f..e3fe1c788b 100644
--- a/lib/common_test/doc/src/dependencies_chapter.xml
+++ b/lib/common_test/doc/src/dependencies_chapter.xml
@@ -78,7 +78,7 @@
     </list>
 
     <p>There are obvious dependencies between the listed functions. The server cannot 
-      be configured if it has not first been started, a client connot be connectd until 
+      be configured if it has not first been started, a client cannot be connected until 
       the server is properly configured, and so on. If we want to have one test 
       case for each function, we might be tempted to try to always run the
       test cases in the stated order and carry possible data (identities, handles,
diff --git a/lib/common_test/doc/src/event_handler_chapter.xml b/lib/common_test/doc/src/event_handler_chapter.xml
index ee758c3199..8a80637d2d 100644
--- a/lib/common_test/doc/src/event_handler_chapter.xml
+++ b/lib/common_test/doc/src/event_handler_chapter.xml
@@ -290,7 +290,7 @@
 	<p><c>FailedCaseInSequence = atom()</c>, the name of a case that failed in a sequence.</p>
         <p><c>RunTimeError = term()</c>, a runtime error, for example <c>badmatch</c> or
 	<c>undef</c>.</p>
-        <p><c>StackTrace = list()</c>, list of function calls preceeding a runtime error.</p>
+        <p><c>StackTrace = list()</c>, list of function calls preceding a runtime error.</p>
         <p><c>UserTerm = term()</c>, any data specified by user, or <c>exit/1</c> information.</p>
         <p>This event is sent for every test case or configuration function that <c>Common Test</c>
 	has skipped automatically because of either a failed <c>init_per_suite</c> or 
diff --git a/lib/common_test/doc/src/notes.xml b/lib/common_test/doc/src/notes.xml
index 63a0a66017..75cbd175ff 100644
--- a/lib/common_test/doc/src/notes.xml
+++ b/lib/common_test/doc/src/notes.xml
@@ -2233,7 +2233,7 @@
 	    <c>{end_per_group,GroupName}</c>.</item> <item>When
 	    <c>require</c> fails in an info function, such as suite/0
 	    or group/1, the init configuration function is now
-	    reported as <c>auto_skipped</c> intead of <c>skipped</c>,
+	    reported as <c>auto_skipped</c> instead of <c>skipped</c>,
 	    with the <c>tc_done</c> event.</item> <item>When
 	    <c>require</c> fails in an info function because of a
 	    configuration name already in use, the <c>tc_done</c>
@@ -2534,7 +2534,7 @@
       <list>
         <item>
           <p>
-	    Removed depricated run_test program, use ct_run instead.</p>
+	    Removed deprecated run_test program, use ct_run instead.</p>
           <p>
 	    *** POTENTIAL INCOMPATIBILITY ***</p>
           <p>
@@ -3027,7 +3027,7 @@
 	    reference manual pages for details about which keys are
 	    allowed.</p>
           <p>
-	    This change introduces a backwards incompatability in the
+	    This change introduces a backwards incompatibility in the
 	    <c>ct:require/2</c> interface. Previously when doing
 	    <c>ct:require(a_name,{key,subkey})</c>, a_name would be
 	    associated with key. This has been changed to that
@@ -3374,7 +3374,7 @@
 	    Common Test will now print error information (with a time
 	    stamp) in the test case log file immediately when a test
 	    case fails. This makes it easier to see when, in time,
-	    the fault actually occured, and aid the job of locating
+	    the fault actually occurred, and aid the job of locating
 	    relevant trace and debug printouts in the log.</p>
           <p>
 	    Own Id: OTP-9904 Aux Id: seq11985, OTP-9900 </p>
@@ -3660,7 +3660,7 @@
         </item>
         <item>
           <p>
-	    If a timetrap timeout occured during execution of of a
+	    If a timetrap timeout occurred during execution of of a
 	    function in a lib module (i.e. a function called directly
 	    or indirectly from a test case), the Suite argument in
 	    the end_tc/3 framework callback function would not
@@ -3927,11 +3927,11 @@
         <item>
           <p>
 	    Alpha release of Common Test Hooks (CTH). CTHs allow the
-	    users of common test to abtract out common behaviours
+	    users of common test to abstract out common behaviours
 	    from test suites in a much more elegant and flexible way
 	    than was possible before. Note that the addition of this
 	    feature may introduce minor changes in the undocumented
-	    behaviour of the interface inbetween common_test and
+	    behaviour of the interface between common_test and
 	    test_server.</p>
           <p>
 	    *** POTENTIAL INCOMPATIBILITY ***</p>
@@ -4079,7 +4079,7 @@
           <p>
 	    It is now possible for the user to provide specific
 	    callback modules that handle test configuration data, so
-	    that data on arbitray form can be accessed (e.g. by
+	    that data on arbitrary form can be accessed (e.g. by
 	    reading files or by communicating with a configuration
 	    server process). Two default callback modules have been
 	    introduced in Common Test: ct_config_plain and
@@ -4500,7 +4500,7 @@
 	    definitions). The properties make it possible to execute
 	    test cases in parallel, in sequence and in shuffled
 	    order. It is also possible to repeat test cases according
-	    to different criterias. The properties can be combined,
+	    to different criteria. The properties can be combined,
 	    making it possible to e.g. repeat a conf case a certain
 	    number of times and execute the test cases in different
 	    (random) order every time. Available properties are:
diff --git a/lib/common_test/doc/src/unix_telnet.xml b/lib/common_test/doc/src/unix_telnet.xml
index d9905aec32..1ceb9a2377 100644
--- a/lib/common_test/doc/src/unix_telnet.xml
+++ b/lib/common_test/doc/src/unix_telnet.xml
@@ -75,7 +75,7 @@
 
     <p>The <c>{port,PortNum}</c> tuple is optional and if omitted, default 
       Telnet port 23 is used. Also the <c>keep_alive</c> tuple is optional,
-      and the value defauls to <c>true</c> (enabled).</p>
+      and the value default to <c>true</c> (enabled).</p>
   </description>
 
   <funcs>
diff --git a/lib/common_test/doc/src/write_test_chapter.xml b/lib/common_test/doc/src/write_test_chapter.xml
index 90bb824873..d38f9ceb3c 100644
--- a/lib/common_test/doc/src/write_test_chapter.xml
+++ b/lib/common_test/doc/src/write_test_chapter.xml
@@ -914,7 +914,7 @@
     can be enabled with start option <c>scale_timetraps</c>.</p>
     
     <p>If a test case needs to suspend itself for a time that also gets
-    multipled by <c>multiply_timetraps</c> (and possibly also scaled up if
+    multiplied by <c>multiply_timetraps</c> (and possibly also scaled up if
     <c>scale_timetraps</c> is enabled), the function 
     <seealso marker="ct#sleep-1"><c>ct:sleep/1</c></seealso>
     can be used (instead of, for example, <c>timer:sleep/1</c>).</p>
diff --git a/lib/common_test/src/ct_config.erl b/lib/common_test/src/ct_config.erl
index adb90c0869..35ed969d79 100644
--- a/lib/common_test/src/ct_config.erl
+++ b/lib/common_test/src/ct_config.erl
@@ -347,7 +347,7 @@ get_config(KeyOrName,Default,Opts) when is_atom(KeyOrName) ->
 	    Else
     end;
 
-%% This useage of get_config is only used by internal ct functions
+%% This usage of get_config is only used by internal ct functions
 %% and may change at any time
 get_config({DeepKey,SubKey}, Default, Opts) when is_tuple(DeepKey) ->
     get_config(erlang:append_element(DeepKey, SubKey), Default, Opts);
diff --git a/lib/common_test/src/ct_framework.erl b/lib/common_test/src/ct_framework.erl
index 41e9734731..c84b54e5dc 100644
--- a/lib/common_test/src/ct_framework.erl
+++ b/lib/common_test/src/ct_framework.erl
@@ -735,7 +735,7 @@ end_tc(Mod,Func00,TCPid,Result,Args,Return) ->
 	    %% clean up any saved comments
 	    ct_util:match_delete_testdata({comment,'_'});
        true ->
-	    %% attemp to delete any saved comment for this TC
+	    %% attempt to delete any saved comment for this TC
 	    case process_info(TCPid, group_leader) of
 		{group_leader,TCGL} ->
 		    ct_util:delete_testdata({comment,TCGL});
@@ -1412,7 +1412,7 @@ end_per_group(GroupName, _) ->
 report(What,Data) ->
     case What of
 	loginfo ->
-	    %% logfiles and direcories have been created for a test and the
+	    %% logfiles and directories have been created for a test and the
 	    %% top level test index page needs to be refreshed
 	    TestName = filename:basename(?val(topdir, Data), ".logs"),
 	    RunDir = ?val(rundir, Data),
diff --git a/lib/common_test/src/ct_groups.erl b/lib/common_test/src/ct_groups.erl
index 273a1acb12..2ee157210f 100644
--- a/lib/common_test/src/ct_groups.erl
+++ b/lib/common_test/src/ct_groups.erl
@@ -229,7 +229,7 @@ find(Mod, GrNames, TCs, [TC | Gs], Known, Defs, FindAll)
 	    [Case | find(Mod, GrNames, TCs, Gs, Known, Defs, FindAll)]
     end;
 
-%% Unexpeted term in group list
+%% Unexpected term in group list
 find(Mod, _GrNames, _TCs, [BadTerm | _Gs], Known, _Defs, _FindAll) ->
     Where = if length(Known) == 0 ->
 		    atom_to_list(Mod)++":groups/0";
diff --git a/lib/common_test/src/ct_hooks.erl b/lib/common_test/src/ct_hooks.erl
index 57c32c17a3..8f6bc9d502 100644
--- a/lib/common_test/src/ct_hooks.erl
+++ b/lib/common_test/src/ct_hooks.erl
@@ -210,7 +210,7 @@ call_init(#ct_hook_config{ module = Mod, opts = Opts, id = Id, prio = P} = Hook,
 	    {Config, Hook#ct_hook_config{ state = NewState, prio = Prio } };
 	{ok, NewState, _} ->
 	    {Config, Hook#ct_hook_config{ state = NewState } };
-	NewState -> %% Keep for backward compatability reasons
+	NewState -> %% Keep for backward compatibility reasons
 	    {Config, Hook#ct_hook_config{ state = NewState } }
     end.    
 
diff --git a/lib/common_test/src/ct_logs.erl b/lib/common_test/src/ct_logs.erl
index 9e4a5a097e..b54fdf7920 100644
--- a/lib/common_test/src/ct_logs.erl
+++ b/lib/common_test/src/ct_logs.erl
@@ -2574,7 +2574,7 @@ sort_and_filter_logdirs2(_,[],Groups) ->
 %% new rundir for Test found, add to (not sorted) list of prev rundirs
 insert_test(Test,IxDir,[{Test,IxDirs}|Groups]) ->
     [{Test,[IxDir|IxDirs]}|Groups];
-%% first occurance of Test
+%% first occurrence of Test
 insert_test(Test,IxDir,[]) ->
     [{Test,[IxDir]}];
 insert_test(Test,IxDir,[TestDir|Groups]) ->
diff --git a/lib/common_test/src/ct_netconfc.erl b/lib/common_test/src/ct_netconfc.erl
index da169236d5..07f6cc1b8f 100644
--- a/lib/common_test/src/ct_netconfc.erl
+++ b/lib/common_test/src/ct_netconfc.erl
@@ -1943,7 +1943,7 @@ indent_line("></"++Rest,Indent,Line) ->
 	    {Indent++lists:reverse(Line)++">","</"++Rest,Indent--"  "}
     end;
 indent_line("><"++Rest,Indent,Line) ->
-    %% Stop tag completed, and new tag comming -> keep indentation
+    %% Stop tag completed, and new tag coming -> keep indentation
     {Indent++lists:reverse(Line)++">","<"++Rest,"  "++Indent};
 indent_line("</"++Rest,Indent,Line) ->
     %% Stop tag starting -> search for end of this tag
diff --git a/lib/common_test/src/ct_release_test.erl b/lib/common_test/src/ct_release_test.erl
index 2c6e2b4ab2..424472f5f0 100644
--- a/lib/common_test/src/ct_release_test.erl
+++ b/lib/common_test/src/ct_release_test.erl
@@ -21,7 +21,7 @@
 %% @doc EXPERIMENTAL support for testing of upgrade.
 %%
 %% This is a library module containing support for test of release
-%% related activities in one or more applications. Currenty it
+%% related activities in one or more applications. Currently it
 %% supports upgrade only.
 %%
 %% == Configuration ==
@@ -57,7 +57,7 @@
 %%     <b><code>CtData = {@link ct_data()}</code></b><br/>
 %%     <b><code>State = NewState = cb_state()</code></b>
 %%
-%%     Initialyze system before upgrade test starts.
+%%     Initialize system before upgrade test starts.
 %%
 %%     This function is called before the upgrade is started. All
 %%     applications given in {@link upgrade/4} are already started by
@@ -230,21 +230,21 @@ init(Config) ->
 %% pick the "From" versions from.
 %% <dl>
 %%   <dt>major</dt>
-%%   <dd>From verions are picked from the previous major
+%%   <dd>From versions are picked from the previous major
 %%     release. For example, if the test is run on an OTP-17
 %%     node, `{@module}' will pick the application
 %%     "From" versions from an OTP installation running OTP
 %%     R16B.</dd>
 %%
 %%   <dt>minor</dt>
-%%   <dd>From verions are picked from the current major
+%%   <dd>From versions are picked from the current major
 %%     release. For example, if the test is run on an OTP-17
 %%     node, `{@module}' will pick the application
 %%     "From" versions from an OTP installation running an
 %%     earlier patch level of OTP-17.</dd>
 %% </dl>
 %%
-%% The application "To" versions are allways picked from the
+%% The application "To" versions are always picked from the
 %% current node, i.e. the common_test node.
 %%
 %% `Callback' specifies the module (normally the
diff --git a/lib/common_test/src/ct_snmp.erl b/lib/common_test/src/ct_snmp.erl
index 27b74dd04e..0e849908e0 100644
--- a/lib/common_test/src/ct_snmp.erl
+++ b/lib/common_test/src/ct_snmp.erl
@@ -237,7 +237,7 @@ prepare_snmp_env() ->
     _ = application:load(snmp),
     
     %% Fix for older versions of snmp where there are some
-    %% inappropriate default values for alway starting an 
+    %% inappropriate default values for always starting an 
     %% agent.
     application:unset_env(snmp, agent).
 %%%---------------------------------------------------------------------------
diff --git a/lib/common_test/src/ct_telnet.erl b/lib/common_test/src/ct_telnet.erl
index 6b237787cd..2c15683c4d 100644
--- a/lib/common_test/src/ct_telnet.erl
+++ b/lib/common_test/src/ct_telnet.erl
@@ -1019,7 +1019,7 @@ seq_expect(Name,Pid,Data,Patterns,Acc,EO) ->
     end.
 
 %% seq_expect1: For one prompt-chunk, match each pattern - line by
-%% line if it is other than the prompt we are seaching for.
+%% line if it is other than the prompt we are searching for.
 seq_expect1(Name,Pid,Data,[prompt|Patterns],Acc,Rest,EO) ->
     case EO#eo.found_prompt of
 	false ->
@@ -1253,7 +1253,7 @@ split_prompt_string([Ch|Rest],_Start,End,N,UptoPrompt,Prompt) when N==End ->
 	    {noprompt,[Ch|Prompt]++UptoPrompt,Rest};
 	[$\s,$t,$s,$a|_] when Prompt==":nigol" ->
 	    %% This is probably the "Last login:" statement which is
-	    %% written when telnet connection is openend.
+	    %% written when telnet connection is opened.
 	    {noprompt,[Ch|Prompt]++UptoPrompt,Rest};
 	_ ->
 	    {prompt,[Ch|Prompt]++UptoPrompt,[Ch|Prompt],Rest}
diff --git a/lib/common_test/src/erl2html2.erl b/lib/common_test/src/erl2html2.erl
index 7f3eb699de..0ab1f0e93e 100644
--- a/lib/common_test/src/erl2html2.erl
+++ b/lib/common_test/src/erl2html2.erl
@@ -287,7 +287,7 @@ encoding(File) ->
     end.
 
 %%%-----------------------------------------------------------------
-%%% Covert encoding atom to string for use in HTML header
+%%% Convert encoding atom to string for use in HTML header
 html_encoding(latin1) ->
     "iso-8859-1";
 html_encoding(utf8) ->
diff --git a/lib/common_test/src/test_server.erl b/lib/common_test/src/test_server.erl
index 5a9b96aed6..69e970f033 100644
--- a/lib/common_test/src/test_server.erl
+++ b/lib/common_test/src/test_server.erl
@@ -361,7 +361,7 @@ stick_all_sticky(Node,Sticky) ->
 %% TimetrapData = {MultiplyTimetrap,ScaleTimetrap}, which indicates a
 %% possible extension of all timetraps. Timetraps will be multiplied by
 %% MultiplyTimetrap. If it is infinity, no timetraps will be started at all.
-%% ScaleTimetrap indicates if test_server should attemp to automatically
+%% ScaleTimetrap indicates if test_server should attempt to automatically
 %% compensate timetraps for runtime delays introduced by e.g. tools like
 %% cover.
 
@@ -1890,7 +1890,7 @@ capture_stop() ->
 %% Note that since output arrive as messages to the process, it takes
 %% a short while from the call to io:format until all output is available
 %% by capture_get/0. It is not necessary to call capture_stop/0 before
-%% retreiving the output.
+%% retrieving the output.
 capture_get() ->
     test_server_sup:capture_get([]).
 
@@ -2554,10 +2554,10 @@ m_out_of_n(M,N,Fun) ->
 %%	Time  - integer() in milliseconds.
 %%	Crash - term()
 %%
-%%	Spaws a new process that calls MFA. The call is considered
+%%	Spawns a new process that calls MFA. The call is considered
 %%      successful if the call crashes with the given reason (Crash),
 %%      or any other reason if Crash is not specified.
-%%	** The call must terminate withing the given Time (defaults
+%%	** The call must terminate within the given Time (defaults
 %%      to infinity), or it is considered a failure (exit with reason
 %%      'call_crash_timeout' is generated).
 
@@ -2576,7 +2576,7 @@ call_crash(Time,Crash,M,F,A) ->
 %% Type = slave | peer
 %% Options = [{tuple(), term()}]
 %%
-%% OptionList is a tuplelist wich may contain one
+%% OptionList is a tuplelist which may contain one
 %% or more of these members:
 %%
 %% Slave and Peer:
diff --git a/lib/common_test/src/test_server_ctrl.erl b/lib/common_test/src/test_server_ctrl.erl
index bf53e1287f..9d5778efd7 100644
--- a/lib/common_test/src/test_server_ctrl.erl
+++ b/lib/common_test/src/test_server_ctrl.erl
@@ -683,7 +683,7 @@ handle_call({finish,Fini}, _From, State) ->
 %% handle_call({idle_notify,Fun}, From, State) -> {ok,Pid}
 %%
 %% Lets a test client subscribe to receive a notification when the
-%% test server becomes idle (can be used to syncronize jobs).
+%% test server becomes idle (can be used to synchronize jobs).
 %% test_server calls Fun(From) when idle.
 
 handle_call({idle_notify,Fun}, {Cli,_Ref}, State) ->
@@ -708,7 +708,7 @@ handle_call({start_get_totals,Fun}, {Cli,_Ref}, State) ->
 %% handle_call(stop_get_totals, From, State) -> ok
 %%
 %% Lets a test client subscribe to receive a notification when the
-%% test server becomes idle (can be used to syncronize jobs).
+%% test server becomes idle (can be used to synchronize jobs).
 %% test_server calls Fun(From) when idle.
 
 handle_call(stop_get_totals, {_Cli,_Ref}, State) ->
@@ -1240,12 +1240,12 @@ do_spec(SpecName, TimetrapSpec) when is_list(SpecName) ->
 %% cannot be granted during the test run. Skip has the syntax specified
 %% by collect_cases/3.
 %%
-%% {nodes,Nodes} Lists node names avaliable to the test suites. Nodes have
+%% {nodes,Nodes} Lists node names available to the test suites. Nodes have
 %% the syntax specified by collect_cases/3.
 %%
 %% {require_nodenames, Num} Specifies how many nodenames the test suite will
-%% need. Theese are automaticly generated and inserted into the Config by the
-%% test_server. The caller may specify other hosts to run theese nodes by
+%% need. These are automatically generated and inserted into the Config by the
+%% test_server. The caller may specify other hosts to run these nodes by
 %% using the {hosts, Hosts} option. If there are no hosts specified, all
 %% nodenames will be generated from the local host.
 %%
@@ -1256,7 +1256,7 @@ do_spec(SpecName, TimetrapSpec) when is_list(SpecName) ->
 %% all hosts given in this Hosts list. The hostnames are given as atoms or
 %% strings.
 %%
-%% {diskless, true}</c></tag> is kept for backwards compatiblilty and
+%% {diskless, true}</c></tag> is kept for backwards compatibility and
 %% should not be used. Use a configuration test case instead.
 %%
 %% This function is meant to be called by a process created by
@@ -2606,7 +2606,7 @@ run_test_cases_loop([{conf,Ref,Props,{Mod,Func}}|_Cases]=Cs0,
 		case get_repeat(Props) of
 		    undefined ->
 			%% we *must* have a status entry for every conf since we
-			%% will continously update status with test case results
+			%% will continuously update status with test case results
 			%% without knowing the Ref (but update hd(Status))
 			{false,new_status(Ref, Status1),Cases1,?void_fun};
 		    {_RepType,N} when N =< 1 ->
@@ -4675,7 +4675,7 @@ update_config(Config, []) ->
 %% Configuration manipulation functions are called with the current
 %% configuration list as only argument, and are expected to return a new
 %% configuration list. Such a pair of function may, for example, start a
-%% server and stop it after a serie of test cases.
+%% server and stop it after a series of test cases.
 %%
 %% SkipCases is expected to be in the format:
 %%
@@ -5361,7 +5361,7 @@ check_cross([]) ->
 %% This analysis is executed on the target node once the test is
 %% completed for an application. This is not the same as the cross
 %% cover analysis, which can be executed on any node after the tests
-%% are finshed.
+%% are finished.
 %%
 %% This per application analysis writes the file cover.html in the
 %% application's run.<timestamp> directory.
diff --git a/lib/common_test/src/test_server_node.erl b/lib/common_test/src/test_server_node.erl
index 0959624431..9660ea0a26 100644
--- a/lib/common_test/src/test_server_node.erl
+++ b/lib/common_test/src/test_server_node.erl
@@ -408,7 +408,7 @@ clear_erl_aflags() ->
 %% path and spaces that separate arguments. The program is quoted to
 %% allow spaces in the path.
 %%
-%% Arguments could exist either if the executable is excplicitly given
+%% Arguments could exist either if the executable is explicitly given
 %% ({prog,String}) or if the -program switch to beam is used and
 %% includes arguments (typically done by cerl in OTP test environment
 %% in order to ensure that slave/peer nodes are started with the same
diff --git a/lib/common_test/src/test_server_sup.erl b/lib/common_test/src/test_server_sup.erl
index 7dc56620a6..71191a2739 100644
--- a/lib/common_test/src/test_server_sup.erl
+++ b/lib/common_test/src/test_server_sup.erl
@@ -510,8 +510,8 @@ check_change({advanced, _}) -> ok;
 check_change(Change)        -> throw({error, {bad_change, Change}}).
 
 %% Given two sorted lists, L1 and L2, returns {NotInL2, NotInL1},
-%% NotInL2 is the elements of L1 which don't occurr in L2,
-%% NotInL1 is the elements of L2 which don't ocurr in L1.
+%% NotInL2 is the elements of L1 which don't occur in L2,
+%% NotInL1 is the elements of L2 which don't occur in L1.
 
 common(L1, L2) ->
     common(L1, L2, [], []).
diff --git a/lib/common_test/test/ct_error_SUITE.erl b/lib/common_test/test/ct_error_SUITE.erl
index 3cd1fac8ed..0fb838f4c6 100644
--- a/lib/common_test/test/ct_error_SUITE.erl
+++ b/lib/common_test/test/ct_error_SUITE.erl
@@ -614,7 +614,7 @@ test_events(cfg_error) ->
      {?eh,test_stats,{9,1,{0,18}}},
      {?eh,tc_start,{cfg_error_9_SUITE,tc6}},
      %%! we get ok with tc_done since it's only afterwards
-     %%! end_tc failes the testcase
+     %%! end_tc fails the testcase
      {?eh,tc_done,{cfg_error_9_SUITE,tc6,ok}},
      {?eh,test_stats,{9,2,{0,18}}},
      {?eh,tc_start,{cfg_error_9_SUITE,tc7}},
diff --git a/lib/common_test/test/ct_error_SUITE_data/error/test/timetrap_8_SUITE.erl b/lib/common_test/test/ct_error_SUITE_data/error/test/timetrap_8_SUITE.erl
index eb5df8c45d..083e995a95 100644
--- a/lib/common_test/test/ct_error_SUITE_data/error/test/timetrap_8_SUITE.erl
+++ b/lib/common_test/test/ct_error_SUITE_data/error/test/timetrap_8_SUITE.erl
@@ -130,8 +130,8 @@ groups() ->
      {pg9,[parallel],[tc5,tc0]}, % exit during testcase
      {pg10,[parallel],[tc0,tc5]},% exit during testcase
      {pg11,[parallel],[tc3,tc2]},% suite is valid if nothing else is specified
-     {sg1,[sequence],[tc5,tc0,tc1,tc2]}, % exit during sequencial testcase
-     {sg2,[sequence],[tc5,tc0,tc1,tc2]}].% timeout during sequencial testcase
+     {sg1,[sequence],[tc5,tc0,tc1,tc2]}, % exit during sequential testcase
+     {sg2,[sequence],[tc5,tc0,tc1,tc2]}].% timeout during sequential testcase
 
 group(g0) ->
     [{timetrap,{timetrap_utils,timetrap_val,[{seconds,1}]}}];
diff --git a/lib/common_test/test/ct_group_leader_SUITE_data/group_leader_SUITE.erl b/lib/common_test/test/ct_group_leader_SUITE_data/group_leader_SUITE.erl
index 4bed60e895..e30ac2a33a 100644
--- a/lib/common_test/test/ct_group_leader_SUITE_data/group_leader_SUITE.erl
+++ b/lib/common_test/test/ct_group_leader_SUITE_data/group_leader_SUITE.erl
@@ -148,7 +148,7 @@ p1(_) ->
     %% respond to IO messages. The process is still group leader for the
     %% external app, however, which is wrong. It's the IO process for the
     %% parallel test case that should be group leader - but only for the
-    %% particular invokation, since other parallel test cases could be
+    %% particular invocation, since other parallel test cases could be
     %% invoking the external app too.
     print("hej\n").
 
diff --git a/lib/common_test/test/ct_hooks_SUITE.erl b/lib/common_test/test/ct_hooks_SUITE.erl
index 08f0c751dd..e8132f503d 100644
--- a/lib/common_test/test/ct_hooks_SUITE.erl
+++ b/lib/common_test/test/ct_hooks_SUITE.erl
@@ -2109,7 +2109,7 @@ test_events(callbacks_on_skip) ->
                     []]}},
 
          %% skip_fail_SUITE is auto-skipped since the suite/0 function
-         %% retuns a faluty format.
+         %% returns a faluty format.
          %% No group- or testcase-functions shall be called.
          {?eh,tc_start,{skip_fail_SUITE,init_per_suite}},
          {?eh,tc_done,{skip_fail_SUITE,init_per_suite,
diff --git a/lib/common_test/test/ct_netconfc_SUITE_data/netconfc1_SUITE.erl b/lib/common_test/test/ct_netconfc_SUITE_data/netconfc1_SUITE.erl
index f36092713e..ff0909d725 100644
--- a/lib/common_test/test/ct_netconfc_SUITE_data/netconfc1_SUITE.erl
+++ b/lib/common_test/test/ct_netconfc_SUITE_data/netconfc1_SUITE.erl
@@ -179,7 +179,7 @@ hello_configured_extraopts() ->
     [{require, netconf1}].
 hello_configured_extraopts(Config) ->
     SshDir = ?config(ssh_dir,Config),
-    %% Test that the cofiguration overwrites the ExtraOpts parameter
+    %% Test that the configuration overwrites the ExtraOpts parameter
     %% to ct_netconfc:open/2.
     {ok,Client} = open_configured_success(netconf1,SshDir,[{password,"faulty"}]),
     ?NS:expect_do_reply('close-session',close,ok),
@@ -1268,7 +1268,7 @@ open_success(Dir) ->
     open_success(Dir,[]).
 
 %% Open a netconf session which is not specified in a config file, and
-%% give som extra options in addition to the test defaults.
+%% give some extra options in addition to the test defaults.
 open_success(Dir,ExtraOpts) when is_list(Dir), is_list(ExtraOpts) ->
     ?NS:hello(1), % tell server to send hello with session id 1
     ?NS:expect(hello), % tell server to expect a hello message from client
diff --git a/lib/common_test/test/ct_netconfc_SUITE_data/netconfc_remote_SUITE.erl b/lib/common_test/test/ct_netconfc_SUITE_data/netconfc_remote_SUITE.erl
index 15e4b2b00b..4838cf505f 100644
--- a/lib/common_test/test/ct_netconfc_SUITE_data/netconfc_remote_SUITE.erl
+++ b/lib/common_test/test/ct_netconfc_SUITE_data/netconfc_remote_SUITE.erl
@@ -120,7 +120,7 @@ open_success(Node,Dir) ->
     open_success(Node,Dir,[]).
 
 %% Open a netconf session which is not specified in a config file, and
-%% give som extra options in addition to the test defaults.
+%% give some extra options in addition to the test defaults.
 open_success(Node,Dir,ExtraOpts) when is_list(Dir), is_list(ExtraOpts) ->
     ns(Node,hello,[1]), % tell server to send hello with session id 1
     ns(Node,expect,[hello]), % tell server to expect a hello message from client
diff --git a/lib/common_test/test/ct_telnet_SUITE_data/ct_telnet_basic_SUITE.erl b/lib/common_test/test/ct_telnet_SUITE_data/ct_telnet_basic_SUITE.erl
index 3885c1991d..ec9431c3f0 100644
--- a/lib/common_test/test/ct_telnet_SUITE_data/ct_telnet_basic_SUITE.erl
+++ b/lib/common_test/test/ct_telnet_SUITE_data/ct_telnet_basic_SUITE.erl
@@ -131,7 +131,7 @@ sendf(Config) ->
 
 no_newline(Config) ->
     {ok, Handle} = ct_telnet:open(?conn_name(?get_n(Config))),
-    IAC = 255, % interprete as command
+    IAC = 255, % interpreted as command
     AYT = 246, % are you there
     ok = ct_telnet:send(Handle, [IAC,AYT], [{newline,false}]),
     {ok,_} = ct_telnet:expect(Handle,"yes",[no_prompt_check]),
diff --git a/lib/common_test/test/ct_telnet_SUITE_data/ct_telnet_timetrap_SUITE.erl b/lib/common_test/test/ct_telnet_SUITE_data/ct_telnet_timetrap_SUITE.erl
index c45a4f0984..afb2031f9a 100644
--- a/lib/common_test/test/ct_telnet_SUITE_data/ct_telnet_timetrap_SUITE.erl
+++ b/lib/common_test/test/ct_telnet_SUITE_data/ct_telnet_timetrap_SUITE.erl
@@ -53,7 +53,7 @@ end_per_testcase(_,_Config) ->
 %% The long timetrap timeout and timeout option in the expect call
 %% also causes the telnet client to hang so long that the attempt at
 %% closing it (in end_per_testcase) will time out (close timeout is 5
-%% sec) without a timetrap timeout occuring in end_per_testcase.
+%% sec) without a timetrap timeout occurring in end_per_testcase.
 %%
 %% The point is to see that the connection is thoroughly removed and
 %% unregistered anyway so that the next test case can successfully
diff --git a/lib/common_test/test_server/ts.erl b/lib/common_test/test_server/ts.erl
index 179380a562..0a44c99a4d 100644
--- a/lib/common_test/test_server/ts.erl
+++ b/lib/common_test/test_server/ts.erl
@@ -75,9 +75,9 @@
 %%%			 system running in a git repository/source tree.
 %%% ts_make		 Interface to run the `make' program on Unix
 %%%			 and other platforms.
-%%% ts_make_erl		 A corrected version of the standar Erlang module
+%%% ts_make_erl		 A corrected version of the standard Erlang module
 %%%			 make (used for rebuilding test suites).
-%%% ts_lib		 Miscellanous utility functions, each used by several
+%%% ts_lib		 Miscellaneous utility functions, each used by several
 %%%			 other modules.
 %%% ts_benchmark         Supervises otp benchmarks and collects results.
 %%%----------------------------------------------------------------------
@@ -310,7 +310,7 @@ cl_run([App,Cat|Options0]) when is_atom(App) ->
 	    false ->
 		Options0 -- [batch]
 	end,
-    %% Make sure there is exactly one occurence of 'batch'
+    %% Make sure there is exactly one occurrence of 'batch'
     Options2 = [batch|Options1],
 
     Result =
@@ -871,7 +871,7 @@ run_test(File, Args, Options, Vars) ->
 %% r(Mod, Case, Opts)
 %%	Each of these functions starts the test server if it
 %%	isn't already running, then runs the test case(s) selected
-%%	by the aguments.
+%%	by the arguments.
 %%      SpecOrMod can be a module name or the name of a test spec file,
 %%      with the extension .spec or .spec.OsType. The module Mod will 
 %%	be reloaded before running the test cases.
-- 
2.31.1

openSUSE Build Service is sponsored by