Linux Test Project
 help / color / mirror / Atom feed
* [LTP] [PATCH 1/1] doc: old: Update TST_SR_IGNORE_ERR description
@ 2025-05-15  7:02 Petr Vorel
  2025-05-15  7:40 ` Li Wang via ltp
  2025-05-16  8:39 ` Cyril Hrubis
  0 siblings, 2 replies; 4+ messages in thread
From: Petr Vorel @ 2025-05-15  7:02 UTC (permalink / raw)
  To: ltp; +Cc: Aaron Knobloch

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


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-05-16 12:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-15  7:02 [LTP] [PATCH 1/1] doc: old: Update TST_SR_IGNORE_ERR description Petr Vorel
2025-05-15  7:40 ` Li Wang via ltp
2025-05-16  8:39 ` Cyril Hrubis
2025-05-16 12:29   ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox