[LTP] [PATCH] doc: Test API: Fix typos

Ma Xinjian maxj.fnst@fujitsu.com
Tue Aug 20 11:53:28 CEST 2024


Fixed spelling mistakes:
inbetween --> between
Similarily --> Similarly

Signed-off-by: Ma Xinjian <maxj.fnst@fujitsu.com>
---
 doc/old/C-Test-API.asciidoc     | 7 +++----
 doc/old/Shell-Test-API.asciidoc | 2 +-
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/doc/old/C-Test-API.asciidoc b/doc/old/C-Test-API.asciidoc
index 08a76c403..493f4c3f6 100644
--- a/doc/old/C-Test-API.asciidoc
+++ b/doc/old/C-Test-API.asciidoc
@@ -2019,9 +2019,8 @@ static struct tst_test test = {
 --------------------------------------------------------------------------------
 
 Above is a minimal template for a test using fuzzy-sync. In a simple case, you
-just need to put the bits you want to race inbetween 'start_race' and
-'end_race'. Meanwhile, any setup you need to do per-iteration goes outside the
-windows.
+just need to put the bits you want to race between 'start_race' and 'end_race'.
+Meanwhile, any setup you need to do per-iteration goes outside the windows.
 
 Fuzzy sync synchronises 'run_a' and 'run_b', which act as barriers, so that
 neither thread can progress until the other has caught up with it. There is
@@ -2339,7 +2338,7 @@ Some tests require at least size(MB) of free RAM or Swap.
 To make sure that test will run only on systems with more than minimal
 required amount of RAM set `.min_mem_avail = N`.
 
-Similarily for tests that require certain amount of free Swap use
+Similarly for tests that require certain amount of free Swap use
 `.min_swap_avail = N`.
 
 1.40 Test tags
diff --git a/doc/old/Shell-Test-API.asciidoc b/doc/old/Shell-Test-API.asciidoc
index 4cf630dab..c38fb0698 100644
--- a/doc/old/Shell-Test-API.asciidoc
+++ b/doc/old/Shell-Test-API.asciidoc
@@ -188,7 +188,7 @@ space as default value is used. Of course, it's possible to use separate functio
 1.2 Library environment variables and functions for shell
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-Similarily to the C library various checks and preparations can be requested
+Similarly to the C library various checks and preparations can be requested
 simply by setting right '$TST_FOO'.
 
 [options="header"]
-- 
2.42.0



More information about the ltp mailing list