aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKian-Meng Ang <kianmeng@cpan.org>2022-01-24 08:01:39 +0800
committerKian-Meng Ang <kianmeng@cpan.org>2022-01-24 08:02:04 +0800
commitadf0f87e99310ea06925a4e88edeaf685d8d0cd5 (patch)
treed23de2e499b7116420a5f4f55fdabbb15f45f019 /test
parentmod_pubsub: Allow for limiting item_expire value (diff)
Fix typos
Diffstat (limited to 'test')
-rw-r--r--test/ejabberd_SUITE.erl2
-rw-r--r--test/ejabberd_SUITE_data/openssl.cnf6
-rw-r--r--test/elixir-config/config_test.exs2
-rw-r--r--test/mam_tests.erl2
-rw-r--r--test/muc_tests.erl6
-rw-r--r--test/proxy65_tests.erl2
-rw-r--r--test/pubsub_tests.erl2
-rw-r--r--test/upload_tests.erl2
-rw-r--r--test/vcard_tests.erl2
9 files changed, 13 insertions, 13 deletions
diff --git a/test/ejabberd_SUITE.erl b/test/ejabberd_SUITE.erl
index bf837d269..237ac3f56 100644
--- a/test/ejabberd_SUITE.erl
+++ b/test/ejabberd_SUITE.erl
@@ -76,7 +76,7 @@ init_per_group(Group, Config) ->
%% All backends enabled
do_init_per_group(Group, Config);
Backends ->
- %% Skipped backends that were not explicitely enabled
+ %% Skipped backends that were not explicitly enabled
case lists:member(Group, Backends) of
true ->
do_init_per_group(Group, Config);
diff --git a/test/ejabberd_SUITE_data/openssl.cnf b/test/ejabberd_SUITE_data/openssl.cnf
index 594653b79..7003c68fc 100644
--- a/test/ejabberd_SUITE_data/openssl.cnf
+++ b/test/ejabberd_SUITE_data/openssl.cnf
@@ -39,7 +39,7 @@ certs = $dir/certs # Where the issued certs are kept
crl_dir = $dir/crl # Where the issued crl are kept
database = $dir/index.txt # database index file.
#unique_subject = no # Set to 'no' to allow creation of
- # several ctificates with same subject.
+ # several certificates with same subject.
new_certs_dir = $dir/newcerts # default place for new certs.
certificate = $dir/cacert.pem # The CA certificate
@@ -50,7 +50,7 @@ crl = $dir/crl.pem # The current CRL
private_key = $dir/private/cakey.pem# The private key
RANDFILE = $dir/private/.rand # private random number file
-x509_extensions = usr_cert # The extentions to add to the cert
+x509_extensions = usr_cert # The extensions to add to the cert
# Comment out the following two lines for the "traditional"
# (and highly broken) format.
@@ -102,7 +102,7 @@ default_bits = 1024
default_keyfile = privkey.pem
distinguished_name = req_distinguished_name
attributes = req_attributes
-x509_extensions = v3_ca # The extentions to add to the self signed cert
+x509_extensions = v3_ca # The extensions to add to the self signed cert
# Passwords for private keys if not present they will be prompted for
# input_password = secret
diff --git a/test/elixir-config/config_test.exs b/test/elixir-config/config_test.exs
index c359c49c3..8970e02e6 100644
--- a/test/elixir-config/config_test.exs
+++ b/test/elixir-config/config_test.exs
@@ -47,7 +47,7 @@ defmodule Ejabberd.ConfigTest do
assert is_function(register_hook.fun)
end
- # TODO: When enalbed, this test causes the evaluation of a different config file, so
+ # TODO: When enabled, this test causes the evaluation of a different config file, so
# the other tests, that uses the store, are compromised because the data is different.
# So, until a good way is found, this test should remain disabed.
#
diff --git a/test/mam_tests.erl b/test/mam_tests.erl
index 0de380351..e8fb59cee 100644
--- a/test/mam_tests.erl
+++ b/test/mam_tests.erl
@@ -454,7 +454,7 @@ recv_archived_messages(Config, From, To, QID, Range) ->
MyJID = my_jid(Config),
lists:foreach(
fun(N) ->
- ct:comment("Retreiving ~pth message in range ~p",
+ ct:comment("Retrieving ~pth message in range ~p",
[N, Range]),
Body = xmpp:mk_text(integer_to_binary(N)),
#message{to = MyJID,
diff --git a/test/muc_tests.erl b/test/muc_tests.erl
index ea3fd1c74..95d9c3b69 100644
--- a/test/muc_tests.erl
+++ b/test/muc_tests.erl
@@ -191,7 +191,7 @@ service_disco_items(Config) ->
service_vcard(Config) ->
MUC = muc_jid(Config),
- ct:comment("Retreiving vCard from ~s", [jid:encode(MUC)]),
+ ct:comment("Retrieving vCard from ~s", [jid:encode(MUC)]),
VCard = mod_muc_opt:vcard(?config(server, Config)),
#iq{type = result, sub_els = [VCard]} =
send_recv(Config, #iq{type = get, to = MUC, sub_els = [#vcard_temp{}]}),
@@ -1474,7 +1474,7 @@ config_voice_request_interval_slave(Config) ->
denied = get_event(Config),
ct:comment("Requesting voice again"),
send(Config, #message{to = Room, sub_els = [X]}),
- ct:comment("Receving voice request error because we're sending to fast"),
+ ct:comment("Receiving voice request error because we're sending to fast"),
#message{from = Room, type = error} = Err = recv_message(Config),
#stanza_error{reason = 'resource-constraint'} = xmpp:get_error(Err),
ct:comment("Waiting for 5 seconds"),
@@ -1872,7 +1872,7 @@ set_vcard(Config, VCard) ->
get_vcard(Config) ->
Room = muc_room_jid(Config),
- ct:comment("Retreiving vCard from ~s", [jid:encode(Room)]),
+ ct:comment("Retrieving vCard from ~s", [jid:encode(Room)]),
case send_recv(Config, #iq{type = get, to = Room,
sub_els = [#vcard_temp{}]}) of
#iq{type = result, sub_els = [VCard]} ->
diff --git a/test/proxy65_tests.erl b/test/proxy65_tests.erl
index 618252eb0..bf6faf1e5 100644
--- a/test/proxy65_tests.erl
+++ b/test/proxy65_tests.erl
@@ -48,7 +48,7 @@ feature_enabled(Config) ->
service_vcard(Config) ->
JID = proxy_jid(Config),
- ct:comment("Retreiving vCard from ~s", [jid:encode(JID)]),
+ ct:comment("Retrieving vCard from ~s", [jid:encode(JID)]),
VCard = mod_proxy65_opt:vcard(?config(server, Config)),
#iq{type = result, sub_els = [VCard]} =
send_recv(Config, #iq{type = get, to = JID, sub_els = [#vcard_temp{}]}),
diff --git a/test/pubsub_tests.erl b/test/pubsub_tests.erl
index 2bca35173..475e4fbd1 100644
--- a/test/pubsub_tests.erl
+++ b/test/pubsub_tests.erl
@@ -87,7 +87,7 @@ test_features(Config) ->
test_vcard(Config) ->
JID = pubsub_jid(Config),
- ct:comment("Retreiving vCard from ~s", [jid:encode(JID)]),
+ ct:comment("Retrieving vCard from ~s", [jid:encode(JID)]),
VCard = mod_pubsub_opt:vcard(?config(server, Config)),
#iq{type = result, sub_els = [VCard]} =
send_recv(Config, #iq{type = get, to = JID, sub_els = [#vcard_temp{}]}),
diff --git a/test/upload_tests.erl b/test/upload_tests.erl
index 434d7be11..edbc6dcce 100644
--- a/test/upload_tests.erl
+++ b/test/upload_tests.erl
@@ -55,7 +55,7 @@ feature_enabled(Config) ->
service_vcard(Config) ->
Upload = upload_jid(Config),
- ct:comment("Retreiving vCard from ~s", [jid:encode(Upload)]),
+ ct:comment("Retrieving vCard from ~s", [jid:encode(Upload)]),
VCard = mod_http_upload_opt:vcard(?config(server, Config)),
#iq{type = result, sub_els = [VCard]} =
send_recv(Config, #iq{type = get, to = Upload, sub_els = [#vcard_temp{}]}),
diff --git a/test/vcard_tests.erl b/test/vcard_tests.erl
index 8e16f7ac0..846b32ee9 100644
--- a/test/vcard_tests.erl
+++ b/test/vcard_tests.erl
@@ -90,7 +90,7 @@ get_set(Config) ->
service_vcard(Config) ->
JID = server_jid(Config),
- ct:comment("Retreiving vCard from ~s", [jid:encode(JID)]),
+ ct:comment("Retrieving vCard from ~s", [jid:encode(JID)]),
VCard = mod_vcard_opt:vcard(?config(server, Config)),
#iq{type = result, sub_els = [VCard]} =
send_recv(Config, #iq{type = get, to = JID, sub_els = [#vcard_temp{}]}),