[LTP] [PATCH v2 6/6] doc: Add missing shell variables
Petr Vorel
pvorel@suse.cz
Thu Feb 10 17:27:39 CET 2022
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
doc/shell-test-api.txt | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/doc/shell-test-api.txt b/doc/shell-test-api.txt
index 5caa889c9e..7172917e05 100644
--- a/doc/shell-test-api.txt
+++ b/doc/shell-test-api.txt
@@ -202,7 +202,13 @@ simply by setting right '$TST_FOO'.
| | https://github.com/linux-test-project/ltp/wiki/Shell-Test-API#formatting-device-with-a-filesystem[Formatting device with a filesystem]
| | See also 'TST_DEV_EXTRA_OPTS', 'TST_DEV_FS_OPTS', 'TST_FS_TYPE'.
| | Implies 'TST_NEEDS_DEVICE=1' (no need to set it).
+| 'TST_DEVICE' | Block device name for 'tst_mount' and 'tst_mkfs', see
+| | https://github.com/linux-test-project/ltp/wiki/Shell-Test-API#formatting-device-with-a-filesystem[Formatting device with a filesystem]
| 'TST_FS_TYPE' | Override the default filesystem to be used.
+| 'TST_MNTPOINT' | Holds path to mountpoint when use 'tst_mount', see
+| | https://github.com/linux-test-project/ltp/wiki/Shell-Test-API#formatting-device-with-a-filesystem[Formatting device with a filesystem]
+| 'TST_MNT_PARAMS' | Extra mount params for 'tst_mount', see
+| | https://github.com/linux-test-project/ltp/wiki/Shell-Test-API#formatting-device-with-a-filesystem[Formatting device with a filesystem]
| 'TST_NEEDS_ROOT' | Exit the test with 'TCONF' unless executed under root.
| | Alternatively the 'tst_require_root' command can be used.
| 'TST_NEEDS_TMPDIR' | Create test temporary directory and cd into it.
--
2.35.1
More information about the ltp
mailing list