summaryrefslogtreecommitdiff
path: root/lib/common_test/test
diff options
context:
space:
mode:
authorKian-Meng, Ang <kianmeng@cpan.org>2021-12-05 06:21:00 +0800
committerKian-Meng, Ang <kianmeng@cpan.org>2021-12-05 06:21:00 +0800
commit70fce49ea9decbbcd049c42e999a83be8d0ed790 (patch)
tree8dc4b345d5127f5e1094586946757d1e72d3fa7b /lib/common_test/test
parent8d0e0eb7639a9d9f62da71ecf0b4ef7b79e78410 (diff)
downloaderlang-70fce49ea9decbbcd049c42e999a83be8d0ed790.tar.gz
Fix typos in lib/common_test
Diffstat (limited to 'lib/common_test/test')
-rw-r--r--lib/common_test/test/ct_auto_clean_SUITE_data/cth_auto_clean.erl2
-rw-r--r--lib/common_test/test/ct_error_SUITE.erl2
-rw-r--r--lib/common_test/test/ct_error_SUITE_data/error/test/timetrap_8_SUITE.erl4
-rw-r--r--lib/common_test/test/ct_group_leader_SUITE_data/group_leader_SUITE.erl2
-rw-r--r--lib/common_test/test/ct_hooks_SUITE.erl2
-rw-r--r--lib/common_test/test/ct_netconfc_SUITE_data/netconfc1_SUITE.erl4
-rw-r--r--lib/common_test/test/ct_netconfc_SUITE_data/netconfc_remote_SUITE.erl2
-rw-r--r--lib/common_test/test/ct_telnet_SUITE_data/ct_telnet_basic_SUITE.erl2
-rw-r--r--lib/common_test/test/ct_telnet_SUITE_data/ct_telnet_timetrap_SUITE.erl2
9 files changed, 11 insertions, 11 deletions
diff --git a/lib/common_test/test/ct_auto_clean_SUITE_data/cth_auto_clean.erl b/lib/common_test/test/ct_auto_clean_SUITE_data/cth_auto_clean.erl
index 3f8d3957cc..e311863d5a 100644
--- a/lib/common_test/test/ct_auto_clean_SUITE_data/cth_auto_clean.erl
+++ b/lib/common_test/test/ct_auto_clean_SUITE_data/cth_auto_clean.erl
@@ -62,7 +62,7 @@ post_end_per_suite(_Suite, _Config, Return, State) ->
AllProcs = processes(),
Remaining = AllProcs--proplists:get_value(all_procs, State),
ct:pal("Final remaining processes = ~p", [Remaining]),
- %% only the end_per_suite process shoud remain at this point!
+ %% only the end_per_suite process should remain at this point!
Remaining = [self()],
{Return, State}.
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