From: Andrea Cervesato <andrea.cervesato@suse.de>
To: Linux Test Project <ltp@lists.linux.it>
Subject: [LTP] [PATCH 3/9] doc: Clarify API coverage and navigation
Date: Thu, 10 Sep 2026 10:33:43 +0200 [thread overview]
Message-ID: <20260910-fix_documentation-v1-3-44313069bbe8@suse.com> (raw)
In-Reply-To: <20260910-fix_documentation-v1-0-44313069bbe8@suse.com>
From: Andrea Cervesato <andrea.cervesato@suse.com>
Add the testers guide description to the user documentation index.
Expand the network API page stub with single-host and two-host
overviews and references. Clarify the legacy shell API comparison table
and add the missing needs_cpu_vendor field.
Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
doc/developers/api_network_tests.rst | 30 +++++++++++++++++++++++++++---
doc/developers/writing_tests.rst | 8 ++++++++
doc/index.rst | 3 +++
3 files changed, 38 insertions(+), 3 deletions(-)
diff --git a/doc/developers/api_network_tests.rst b/doc/developers/api_network_tests.rst
index 3e487d7f2..6b93bce26 100644
--- a/doc/developers/api_network_tests.rst
+++ b/doc/developers/api_network_tests.rst
@@ -1,7 +1,31 @@
.. SPDX-License-Identifier: GPL-2.0-or-later
-.. Include headers in this file with:
-.. .. kernel-doc:: ../../include/tst_test.h
-
Developing using network API
============================
+
+Overview
+--------
+
+LTP network tests support both single-host and two-host test configurations.
+Network stress tests and environment parameters are defined in
+:shell_lib:`tst_net.sh` and documented in
+:master:`testcases/network/README.md`.
+
+Single-host configuration
+~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Single-host is the default configuration when the ``RHOST`` environment
+variable is not defined. LTP creates an ``ltp_ns`` network namespace and
+configures a ``veth`` pair according to LTP network environment variables.
+
+Two-host configuration
+~~~~~~~~~~~~~~~~~~~~~~
+
+This setup requires the ``RHOST`` environment variable to be set to the
+hostname or IP address of the remote test machine, along with passwordless
+SSH access configured for root. Both machines must have LTP installed in
+the same location.
+
+For more details on network test setup, server service dependencies, and
+running the tests with ``network.sh``, see
+:master:`testcases/network/README.md`.
diff --git a/doc/developers/writing_tests.rst b/doc/developers/writing_tests.rst
index 0edf101ff..9a56c0265 100644
--- a/doc/developers/writing_tests.rst
+++ b/doc/developers/writing_tests.rst
@@ -360,6 +360,11 @@ check :master:`.github/workflows/ci-docker-build.yml`.
LTP C And Shell Test API Comparison
-----------------------------------
+This table compares :c:struct:`tst_test` members in the C API with
+corresponding ``$TST_*`` variables in the legacy :shell_lib:`tst_test.sh`
+shell API. For tests using the new shell loader library, see
+:doc:`api_shell_tests`.
+
.. list-table::
:header-rows: 1
@@ -440,6 +445,9 @@ LTP C And Shell Test API Comparison
* - .needs_cmds
- TST_NEEDS_CMDS
+ * - .needs_cpu_vendor
+ - \-
+
* - .needs_devfs
- \-
diff --git a/doc/index.rst b/doc/index.rst
index 58944a72d..5f886eed2 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -53,6 +53,9 @@ For users
:doc:`users/setup_tests`
How to set up tests execution
+:doc:`users/testers_guide`
+ Guidelines and considerations when testing the Linux kernel with LTP
+
:doc:`users/supported_systems`
A list of supported technologies by the LTP framework
--
2.51.0
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2026-09-10 8:35 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-10 8:33 [LTP] [PATCH 0/9] doc: Improve and fix documentation and API comments Andrea Cervesato
2026-09-10 8:33 ` [LTP] [PATCH 1/9] doc: Fix examples and generated links Andrea Cervesato
2026-09-10 10:47 ` [LTP] " linuxtestproject.agent
2026-09-10 19:07 ` [LTP] [PATCH 1/9] " Petr Vorel
2026-09-10 8:33 ` [LTP] [PATCH 2/9] doc: Correct guide and API descriptions Andrea Cervesato
2026-09-10 19:32 ` Petr Vorel
2026-09-10 8:33 ` Andrea Cervesato [this message]
2026-09-10 19:52 ` [LTP] [PATCH 3/9] doc: Clarify API coverage and navigation Petr Vorel
2026-09-11 6:57 ` Andrea Cervesato via ltp
2026-09-10 8:33 ` [LTP] [PATCH 4/9] include: Document assertion API macros Andrea Cervesato
2026-09-10 8:33 ` [LTP] [PATCH 5/9] include: Document filesystem test utilities Andrea Cervesato
2026-09-10 8:33 ` [LTP] [PATCH 6/9] include: Document memory " Andrea Cervesato
2026-09-10 8:33 ` [LTP] [PATCH 7/9] include: Document safe file operations Andrea Cervesato
2026-09-10 8:33 ` [LTP] [PATCH 8/9] doc: Document CPU and common test helpers Andrea Cervesato
2026-09-10 8:33 ` [LTP] [PATCH 9/9] include: Fix API comment spelling and style Andrea Cervesato
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260910-fix_documentation-v1-3-44313069bbe8@suse.com \
--to=andrea.cervesato@suse.de \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.