From cda13d502ab4627467175f863253a043f1f2a47f Mon Sep 17 00:00:00 2001 From: Ma Xinjian Date: Tue, 20 Aug 2024 17:53:28 +0800 Subject: [PATCH] doc: Test API: Fix typos Fixed spelling mistakes: inbetween --> between Similarily --> Similarly Signed-off-by: Ma Xinjian Reviewed-by: Li Wang --- 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 08a76c403bf..493f4c3f60e 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 4cf630dab7d..c38fb0698a4 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"]