From: Cyril Hrubis <chrubis@suse.cz>
To: Andrea Cervesato <andrea.cervesato@suse.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v3] Rewrite fcnt14 test
Date: Mon, 2 Sep 2024 15:36:56 +0200 [thread overview]
Message-ID: <ZtW_eHAar8bBP6vQ@yuki.lan> (raw)
In-Reply-To: <f3a459fc-1777-4106-8313-0bd4395c309d@suse.com>
Hi!
> I don't know, is a silent version of EQ_LI really needed? It's a
> particular use case, where also *FAILED is set, so I don't know...
Contrary I would say that this may be a common pattern when we want to
avoid spamming the test output:
unsigned int failcnt = 0;
TST_EXP_EQ_LI_SILENT(..., &failcnt);
TST_EXP_EQ_LI_SILENT(..., &failcnt);
TST_EXP_EQ_LI_SILENT(..., &failcnt);
TST_EXP_EQ_LI_SILENT(..., &failcnt);
if (!failcnt)
tst_res(TPASS, "All values were fine");
Anyways, we can as well pull the code to the library when we get a
second user.
--
Cyril Hrubis
chrubis@suse.cz
--
Mailing list info: https://lists.linux.it/listinfo/ltp
prev parent reply other threads:[~2024-09-02 13:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-15 11:43 [LTP] [PATCH v3] Rewrite fcnt14 test Andrea Cervesato
2024-08-30 13:58 ` Cyril Hrubis
2024-09-02 8:30 ` Andrea Cervesato via ltp
2024-09-02 13:36 ` Cyril Hrubis [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=ZtW_eHAar8bBP6vQ@yuki.lan \
--to=chrubis@suse.cz \
--cc=andrea.cervesato@suse.com \
--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