Skip to content

Commit

Permalink
doc: Test API: Fix typos
Browse files Browse the repository at this point in the history
Fixed spelling mistakes:
  inbetween --> between
  Similarily --> Similarly

Signed-off-by: Ma Xinjian <maxj.fnst@fujitsu.com>
Reviewed-by: Li Wang <liwang@redhat.com>
  • Loading branch information
MaXinjian authored and wangli5665 committed Aug 20, 2024
1 parent a5dd320 commit cda13d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions doc/old/C-Test-API.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/old/Shell-Test-API.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit cda13d5

Please sign in to comment.