[LTP] [PATCH v2] msgstress01: remove TWARN from runtime remaining
Li Wang
liwang@redhat.com
Thu Jun 27 13:59:31 CEST 2024
On Thu, Jun 27, 2024 at 7:48 PM Cyril Hrubis <chrubis@suse.cz> wrote:
> Hi!
> > Ah yes, but if the second runtime out happens, it still
> > not get an expected result on the test, so maybe we
> > shouldn't print "TPASS + All messages received"?
>
> I suppose that we can print "Some messages received" instead in the case
> that stop was in the second loop.
>
How about giving the actual finished numbers?
if (!(*fail))
- tst_res(TPASS, "Test passed. All messages have been
received");
+ tst_res(TPASS, "Test passed. %d messages have been
received", *finished);
--
Regards,
Li Wang
More information about the ltp
mailing list