* [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
* Re: [LTP] [PATCH 1/1] doc: old: Update TST_SR_IGNORE_ERR description
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
1 sibling, 0 replies; 4+ messages in thread
From: Li Wang via ltp @ 2025-05-15 7:40 UTC (permalink / raw)
To: Petr Vorel; +Cc: Aaron Knobloch, ltp
On Thu, May 15, 2025 at 3:02 PM Petr Vorel <pvorel@suse.cz> wrote:
>
> 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>
Reviewed-by: Li Wang <liwang@redhat.com>
> @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.
Thanks for doing this, Petr.
--
Regards,
Li Wang
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LTP] [PATCH 1/1] doc: old: Update TST_SR_IGNORE_ERR description
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
1 sibling, 1 reply; 4+ messages in thread
From: Cyril Hrubis @ 2025-05-16 8:39 UTC (permalink / raw)
To: Petr Vorel; +Cc: Aaron Knobloch, ltp
Hi!
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
--
Cyril Hrubis
chrubis@suse.cz
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LTP] [PATCH 1/1] doc: old: Update TST_SR_IGNORE_ERR description
2025-05-16 8:39 ` Cyril Hrubis
@ 2025-05-16 12:29 ` Petr Vorel
0 siblings, 0 replies; 4+ messages in thread
From: Petr Vorel @ 2025-05-16 12:29 UTC (permalink / raw)
To: Cyril Hrubis; +Cc: Aaron Knobloch, ltp
Hi all,
> Hi!
> Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
Merged, thanks!
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [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 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.