[LTP] [COMMITTED] [PATCH] mq_timedreceive_5-3: Initialize maxmsg properly

Joerg Vehlow lkml@jv-coder.de
Mon Feb 15 12:31:18 CET 2021


Hi,

On 2/15/2021 11:55 AM, Cyril Hrubis wrote:
> Feel free to send a patch for the rest :-).
Don't want to many open patches at the same time ;)
> Looking at the rest of the tests I guess the original author either did
> not care that much or was clueless since it does not really make sense
> to set mq_maxmsg to the same number as mq_msgsize in tests that send
> just one or two message.
>
> So we should either set it to 2 in all tests, or set it to 1 or 2
> depending on how many messages test sends.
Couldn't agree more

Jörg


More information about the ltp mailing list