]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
tests: Spelling fixes
authorJosh Soref <jsoref@users.noreply.github.com>
Sun, 31 Oct 2021 01:04:37 +0000 (21:04 -0400)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Tue, 16 Nov 2021 04:17:52 +0000 (22:17 -0600)
Correct typos of the following word families:

mounting
jitterbuffer
thrashing
original
manipulating
entries
actual
possibility
tasks
options
positives
taskprocessor
other
dynamic
declarative

ASTERISK-29714

Change-Id: I6b94659d045eec5d8d020fce2e9b6e2f593dfeb6

16 files changed:
tests/CI/gates.jenkinsfile
tests/CI/periodics-daily.jenkinsfile
tests/CI/ref_debug.jenkinsfile
tests/CI/unittests.jenkinsfile
tests/test_abstract_jb.c
tests/test_aoc.c
tests/test_astobj2_thrash.c
tests/test_config.c
tests/test_hashtab_thrash.c
tests/test_media_cache.c
tests/test_optional_api.c
tests/test_sorcery.c
tests/test_sorcery_memory_cache_thrash.c
tests/test_stasis.c
tests/test_strings.c
tests/test_taskprocessor.c

index a5465cecea72274935fae94de89b351d08689471..48861abbb3f8a7d831a2058fe0d7770edd0ab009 100644 (file)
@@ -8,7 +8,7 @@
  * pipeline, you can define the trigger in the pipeline file.  This keeps
  * everything in one place.  We transition to scripted pipeline later on because
  * we need to dynamically determine which docker image we're going to use and
- * you can't do that in a delcarative pipeline.
+ * you can't do that in a declarative pipeline.
  */
 def timeoutTime = 60
 def timeoutUnits = 'MINUTES'
@@ -139,7 +139,7 @@ pipeline {
                                        def r = currentBuild.startTimeInMillis % images.length
                                        def ri = images[(int)r]
                                        def randomImage = env.DOCKER_REGISTRY + "/" + ri
-                                       /* FYI... Jenkins takes care of mouting the workspace for the container */
+                                       /* FYI... Jenkins takes care of mounting the workspace for the container */
                                        def dockerOptions = "--privileged --ulimit core=0 --ulimit nofile=10240 " +
                                                " --tmpfs /tmp:exec,size=1G -v /srv/jenkins:/srv/jenkins:rw -v /srv/cache:/srv/cache:rw " +
                                                " --entrypoint=''"
index 3ba8dfcbdee9d189eb730098d0f4e9dccba1728f..3fbffaf25bba24845bd8632dbd58dae291ac884f 100644 (file)
@@ -8,7 +8,7 @@
  * pipeline, you can define the trigger in the pipeline file.  This keeps
  * everything in one place.  We transition to scripted pipeline later on because
  * we need to dynamically determine which docker image we're going to use and
- * you can't do that in a delcarative pipeline.
+ * you can't do that in a declarative pipeline.
  */
 def timeoutTime = 3
 def timeoutUnits = 'HOURS'
index 742d5f88b1a4f0a146b7fdcdc01bca82a2db4b04..c8e621b47ca734603dbd1d652526097394664afb 100644 (file)
@@ -8,7 +8,7 @@
  * pipeline, you can define the trigger in the pipeline file.  This keeps
  * everything in one place.  We transition to scripted pipeline later on because
  * we need to dynamically determine which docker image we're going to use and
- * you can't do that in a delcarative pipeline.
+ * you can't do that in a declarative pipeline.
  */
 def timeoutTime = 24
 def timeoutUnits = 'HOURS'
index 1a0876d701e7c5991cb38bf4226e4d6e7e951348..24ef2f9de5e68cf31912a165a76689af9b27e2da 100644 (file)
@@ -8,7 +8,7 @@
  * pipeline, you can define the trigger in the pipeline file.  This keeps
  * everything in one place.  We transition to scripted pipeline later on because
  * we need to dynamically determine which docker image we're going to use and
- * you can't do that in a delcarative pipeline.
+ * you can't do that in a declarative pipeline.
  */
 def timeoutTime = 30
 def timeoutUnits = 'MINUTES'
index 76eb4bffec3a5687ddd65d2ece8f5e44572d601a..7826c9ffdc2186baf2070e68ac6ddfdc37dd2169 100644 (file)
@@ -246,7 +246,7 @@ static struct ast_jb default_jb = {
                info->description = \
                        "This tests putting a single frame into a " literal_type_name " jitterbuffer " \
                        "when the jitterbuffer is empty and verifying that it is indeed " \
-                       "the first frame on the jitterbufffer"; \
+                       "the first frame on the jitterbuffer"; \
                return AST_TEST_NOT_RUN; \
        case TEST_EXECUTE: \
                break; \
index 0adc28d19b67289f0fa2010862e02c762b06daeb..6be64c449cac7410a6f496fcbe48b1f093ad3593 100644 (file)
@@ -453,7 +453,7 @@ AST_TEST_DEFINE(aoc_encode_decode_test)
                }
        }
 
-       /* Test every billing id possiblity */
+       /* Test every billing id possibility */
        {
                int billid[9] = {
                        AST_AOC_BILLING_NA,
index 8a7e64c6aed6871790352f42e2962b840075dd25..1c1c30f3e29cccd39c785dd274616b3830f81210 100644 (file)
@@ -22,7 +22,7 @@
  * \author\verbatim David M. Lee, II <dlee@digium.com> \endverbatim
  *
  * Inspired by the original hashtest2.c by Steve Murphy <murf@digium.com>.  This test runs
- * several threads manipulatings a concurrent astobj2 container to see if they maintain
+ * several threads manipulating a concurrent astobj2 container to see if they maintain
  * consistency. While the tests attempt to check consistency and error normally, threading
  * errors often result in segfaults.
  * \ingroup tests
@@ -59,7 +59,7 @@ struct hash_test {
        struct ao2_container *to_be_thrashed;
        /*! Number of entries to insert in the grow thread. */
        int max_grow;
-       /*! Number of enteries added by the grow thread. */
+       /*! Number of entries added by the grow thread. */
        int grow_count;
        /*! Entries preloaded into the hashtab; to be deleted by the shrink thread */
        int preload;
index c429bbea828c2791407939098c8ceedcaffb7c55..770aa15bb9e0a10c4dedc9f125f3857d7dc41833 100644 (file)
@@ -1493,7 +1493,7 @@ AST_TEST_DEFINE(config_options_test)
        case TEST_INIT:
                info->name = "config_options_test";
                info->category = "/config/";
-               info->summary = "Config opptions unit test";
+               info->summary = "Config options unit test";
                info->description =
                        "Tests the Config Options API";
                return AST_TEST_NOT_RUN;
index ee77c92c0305ff1ebc0b4c9662686a430e410c44..854c00cf4651de76abf98a26e5086f35c8b47912 100644 (file)
@@ -22,7 +22,7 @@
  * \author\verbatim David M. Lee, II <dlee@digium.com> \endverbatim
  *
  * Inspired by the original hashtest.c by Steve Murphy <murf@digium.com>.  This test runs
- * several threads manipulatings a concurrent hastab to see if they maintain
+ * several threads manipulating a concurrent hastab to see if they maintain
  * consistency. While the tests attempt to check consistency and error normally, threading
  * errors often result in segfaults.
  * \ingroup tests
@@ -51,7 +51,7 @@ struct hash_test {
        struct ast_hashtab *to_be_thrashed;
        /*! Number of entries to insert in the grow thread. */
        int max_grow;
-       /*! Number of enteries added by the grow thread. */
+       /*! Number of entries added by the grow thread. */
        int grow_count;
        /*! Entries preloaded into the hashtab; to be deleted by the shrink thread */
        int preload;
index c35e43f0d6c7be7a2f35cca4f43ef1e3df97acde..14438f05741f29e40440c4d454b397c6417422a6 100644 (file)
@@ -170,7 +170,7 @@ AST_TEST_DEFINE(exists_off_nominal)
                info->summary = "Test off nominal existance of resources in the cache";
                info->description =
                        "This test verifies that checking for bad resources (NULL, bad "
-                       "scheme, etc.) does not result in false positivies.";
+                       "scheme, etc.) does not result in false positives.";
                return AST_TEST_NOT_RUN;
        case TEST_EXECUTE:
                break;
index fdf5d0cff4e80a1d1cd967fc2ab39ef770f1d035..0bac9a535bb5d0a0957da3baae981772c555dde2 100644 (file)
@@ -20,7 +20,7 @@
  * \file
  * \brief Test optional API.
  *
- * This tests exercise the underlying implementation functions. Acutal usage
+ * This tests exercise the underlying implementation functions. Actual usage
  * won't look anything like this; it would use the wrapper macros.
  *
  * \author\verbatim David M. Lee, II <dlee@digium.com> \endverbatim
index 9f5cc7e8e86d0cf30e33c217b796cd5178ad8c79..1f220407bc5881b8fe28fa3871a455c26c7dc32b 100644 (file)
@@ -842,7 +842,7 @@ AST_TEST_DEFINE(object_copy)
                ast_test_status_update(test, "A new ast_variable was not created for 'jim'\n");
                res = AST_TEST_FAIL;
        } else if (copy->jim == obj->jim) {
-               ast_test_status_update(test, "Created copy of 'jim' is actually the ogirinal 'jim'\n");
+               ast_test_status_update(test, "Created copy of 'jim' is actually the original 'jim'\n");
                res = AST_TEST_FAIL;
        } else if (strcmp(copy->jim->value, obj->jim->value)) {
                ast_test_status_update(test, "Value of 1st 'jim' on newly created copy is not the same as original\n");
index dfe7a7c81dea543d2a55b6fbf1af14f440c7e641..d9ad3d1b31d6c0261ef4f2062776a874aeb2516b 100644 (file)
@@ -61,7 +61,7 @@ struct sorcery_memory_cache_thrash_thread {
        unsigned int average_execution_time;
 };
 
-/*! \brief Structure for memory cache thrasing */
+/*! \brief Structure for memory cache thrashing */
 struct sorcery_memory_cache_thrash {
        /*! \brief The sorcery instance being tested */
        struct ast_sorcery *sorcery;
@@ -160,7 +160,7 @@ static void sorcery_memory_cache_thrash_destroy(void *obj)
 
 /*!
  * \internal
- * \brief Set up thrasing against a memory cache on a sorcery instance
+ * \brief Set up thrashing against a memory cache on a sorcery instance
  *
  * \param cache_configuration The sorcery memory cache configuration to use
  * \param update_threads The number of threads which should be constantly updating sorcery
index 08c3d1e0f38d46cb3cf2f4431fcd21df28dbfd99..5efb1ec1e6cdb7b720dcea2e040dc1ecb75fe042 100644 (file)
@@ -259,7 +259,7 @@ static int consumer_wait_for(struct consumer *consumer, size_t expected_len)
                if (r == ETIMEDOUT) {
                        break;
                }
-               ast_assert(r == 0); /* Not expecting any othet types of errors */
+               ast_assert(r == 0); /* Not expecting any other types of errors */
        }
        return consumer->messages_rxed_len;
 }
@@ -280,7 +280,7 @@ static int consumer_wait_for_completion(struct consumer *consumer)
                if (r == ETIMEDOUT) {
                        break;
                }
-               ast_assert(r == 0); /* Not expecting any othet types of errors */
+               ast_assert(r == 0); /* Not expecting any other types of errors */
        }
        return consumer->complete;
 }
@@ -306,7 +306,7 @@ static int consumer_should_stay(struct consumer *consumer, size_t expected_len)
                if (r == ETIMEDOUT) {
                        break;
                }
-               ast_assert(r == 0); /* Not expecting any othet types of errors */
+               ast_assert(r == 0); /* Not expecting any other types of errors */
        }
        return consumer->messages_rxed_len;
 }
index 63ac85647b7ab6e352794c50ec9b24a5b3eed034..f3c7e56408fc19ef85584468c4efc33c637884ee 100644 (file)
@@ -22,7 +22,7 @@
  *
  * \author Mark Michelson <mmichelson@digium.com>
  *
- * This module will run some dyanmic string tests.
+ * This module will run some dynamic string tests.
  *
  * \ingroup tests
  */
index c9a40dfc0ccfb2cdeea541cc288d98ad0f8fcfc7..537f77c7673b7756b72ac4404dddac6bc52a4bc2 100644 (file)
@@ -139,7 +139,7 @@ AST_TEST_DEFINE(default_taskprocessor)
        case TEST_INIT:
                info->name = "default_taskprocessor";
                info->category = "/main/taskprocessor/";
-               info->summary = "Test of default taskproccesor";
+               info->summary = "Test of default taskprocessor";
                info->description =
                        "Ensures that a queued task gets executed.";
                return AST_TEST_NOT_RUN;
@@ -363,7 +363,7 @@ AST_TEST_DEFINE(default_taskprocessor_load)
        case TEST_INIT:
                info->name = "default_taskprocessor_load";
                info->category = "/main/taskprocessor/";
-               info->summary = "Load test of default taskproccesor";
+               info->summary = "Load test of default taskprocessor";
                info->description =
                        "Ensure that a large number of queued tasks are executed in the proper order.";
                return AST_TEST_NOT_RUN;
@@ -546,7 +546,7 @@ static int check_stats(struct ast_test *test, const struct test_listener_pvt *pv
 /*!
  * \brief Test for a taskprocessor with custom listener.
  *
- * This test pushes tasks to a taskprocessor with a custom listener, executes the taskss,
+ * This test pushes tasks to a taskprocessor with a custom listener, executes the tasks,
  * and destroys the taskprocessor.
  *
  * The test ensures that the listener's callbacks are called when expected and that the data
@@ -563,7 +563,7 @@ AST_TEST_DEFINE(taskprocessor_listener)
        case TEST_INIT:
                info->name = "taskprocessor_listener";
                info->category = "/main/taskprocessor/";
-               info->summary = "Test of taskproccesor listeners";
+               info->summary = "Test of taskprocessor listeners";
                info->description =
                        "Ensures that listener callbacks are called when expected.";
                return AST_TEST_NOT_RUN;
@@ -760,7 +760,7 @@ AST_TEST_DEFINE(taskprocessor_shutdown)
        case TEST_INIT:
                info->name = "taskprocessor_shutdown";
                info->category = "/main/taskprocessor/";
-               info->summary = "Test of taskproccesor shutdown sequence";
+               info->summary = "Test of taskprocessor shutdown sequence";
                info->description =
                        "Ensures that all tasks run to completion after the taskprocessor has been unref'ed.";
                return AST_TEST_NOT_RUN;