From: Petr Vorel <pvorel@suse.cz>
To: Cyril Hrubis <chrubis@suse.cz>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH 1/1] fsconfig03: Quit on first error
Date: Mon, 28 Jul 2025 16:40:15 +0200 [thread overview]
Message-ID: <20250728144015.GA772942@pevik> (raw)
In-Reply-To: <aId7M6soHD3246n0@yuki.lan>
> Hi!
> > Test runs in loop 5000x, if it fails, it pollutes output a lot.
> > Currently bcachefs fails 4883x:
> > fsconfig03.c:53: TFAIL: fsconfig() passed unexpectedly
> > Skip with goto to keep check for a taint flags.
> > Signed-off-by: Petr Vorel <pvorel@suse.cz>
> > ---
> > Hi all,
> > or do we want to quit after more errors, e.g. 10x?
> > Kind regards,
> > Petr
> > testcases/kernel/syscalls/fsconfig/fsconfig03.c | 3 +++
> > 1 file changed, 3 insertions(+)
> > diff --git a/testcases/kernel/syscalls/fsconfig/fsconfig03.c b/testcases/kernel/syscalls/fsconfig/fsconfig03.c
> > index add54769e0..985278986a 100644
> > --- a/testcases/kernel/syscalls/fsconfig/fsconfig03.c
> > +++ b/testcases/kernel/syscalls/fsconfig/fsconfig03.c
> > @@ -51,15 +51,18 @@ static void run(void)
> > if (!TST_RET) {
> > tst_res(TFAIL, "fsconfig() passed unexpectedly");
> > + goto cleanup;
> Shouldn't break; be better in this case?
Ah, sure. I'll merge with break.
Thank you!
Kind regards,
Petr
> Otherwise it looks good.
--
Mailing list info: https://lists.linux.it/listinfo/ltp
prev parent reply other threads:[~2025-07-28 14:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-24 17:00 [LTP] [PATCH 1/1] fsconfig03: Quit on first error Petr Vorel
2025-07-25 7:52 ` Li Wang via ltp
2025-07-28 13:29 ` Cyril Hrubis
2025-07-28 14:40 ` Petr Vorel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250728144015.GA772942@pevik \
--to=pvorel@suse.cz \
--cc=chrubis@suse.cz \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox