[LTP] [PATCH 1/1] doc: old: Update TST_SR_IGNORE_ERR description
Petr Vorel
pvorel@suse.cz
Thu May 15 09:02:13 CEST 2025
TST_SR_IGNORE_ERR has a broader meaning, it ignores all errors (e.g.
when file does not exists during reading).
Reported-by: Aaron Knobloch <aarondevelops@gmail.com>
Closes: https://github.com/linux-test-project/ltp/issues/1239
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Hi all,
@Li I plan to add include/tst_sys_conf.h to our doc and use these
description in kerneldoc, but better to update the old doc in case I
forget.
Kind regards,
Petr
doc/old/C-Test-API.asciidoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/old/C-Test-API.asciidoc b/doc/old/C-Test-API.asciidoc
index fe26e26067..72fd2731d3 100644
--- a/doc/old/C-Test-API.asciidoc
+++ b/doc/old/C-Test-API.asciidoc
@@ -1651,7 +1651,7 @@ with 'TBROK'. This behavior can be changed using tst_path_val.flags:
* 'TST_SR_TBROK_RO' – End test with 'TBROK' if the file is read-only
* 'TST_SR_TCONF_RO' – End test with 'TCONF' if the file is read-only
* 'TST_SR_SKIP_RO' – Continue without saving the file if it is read-only
-* 'TST_SR_IGNORE_ERR' – Ignore errors when writing new value into the file
+* 'TST_SR_IGNORE_ERR' – Ignore all errors during reading and writing the file
Common flag combinations also have shortcuts:
--
2.49.0
More information about the ltp
mailing list