Skip to content

Commit c2ec79f

Browse files
committed
doc/setup_tests: Document LTP_NFS_NETNS_USE_LO=1
While at it separate test specific variables into it's own section. (move there LTP_IMA_LOAD_POLICY=1 and network variables). Signed-off-by: Petr Vorel <pvorel@suse.cz>
1 parent e7cf48d commit c2ec79f

File tree

1 file changed

+24
-6
lines changed

1 file changed

+24
-6
lines changed

doc/users/setup_tests.rst

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,6 @@ users.
6868
both up and down with this multiplier. This is not yet implemented in the
6969
shell API.
7070

71-
* - LTP_IMA_LOAD_POLICY
72-
- Load IMA example policy, see :master:`testcases/kernel/security/integrity/ima/README.md`.
73-
7471
* - LTP_VIRT_OVERRIDE
7572
- Overrides virtual machine detection in the test library. Setting it to
7673
empty string, tells the library that system is not a virtual machine.
@@ -92,9 +89,30 @@ users.
9289
* - LTP_ENABLE_DEBUG
9390
- Enable debug info (value ``1`` or ``y``). Equivalent of ``-D`` parameter.
9491

95-
Environment variables for network tests
96-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
97-
See :master:`testcases/network/README.md`.
92+
Test specific environment variables
93+
-----------------------------------
94+
95+
.. list-table::
96+
:header-rows: 1
97+
98+
* - Tests
99+
- Variable
100+
- Note
101+
102+
* - IMA
103+
- LTP_IMA_LOAD_POLICY=1
104+
- Load IMA example policy, see
105+
:master:`testcases/kernel/security/integrity/ima/README.md`.
106+
107+
* - NFS
108+
- LTP_NFS_NETNS_USE_LO=1
109+
- NFS traffic will go through loopback interface instead of ltp_ns_veth*
110+
netns interfaces (useful for debugging whether test failures are related
111+
to veth/netns).
112+
113+
* - Network
114+
- *various*
115+
- See :master:`testcases/network/README.md`.
98116

99117
Test execution time and timeout
100118
-------------------------------

0 commit comments

Comments
 (0)