[LTP] [PATCH v2] msgstress01: remove TWARN from runtime remaining

Cyril Hrubis chrubis@suse.cz
Thu Jun 27 14:04:59 CEST 2024


Hi!
> 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);

This is not the number of messages though, it's incremented by writer
threads once they send num_iteration messages. So most of the time it
will either be 0 if we had to stop the execution because of runtime, or
2 * num_messages, if we managed finish in time.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list