[LTP] [PATCH v3] rtc02: loosen the compare precision with few seconds

Li Wang liwang@redhat.com
Thu May 12 16:11:22 CEST 2022


On Thu, May 12, 2022 at 10:05 PM Eirik Fuller <efuller@redhat.com> wrote:

> Sorry to chime in late, but do we care about crossing day, month, or year
> boundaries? For example, what if we write 23:59:59 and read 00:00:01 ?
>

Good question Eirik, actually we have avoided that zero clocks.
It's impossible to get time crossing day/month/year (or 00:00:xx)
in the clock unless a new bug is happening.

See:
https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/device-drivers/rtc/rtc02.c#L107

-- 
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20220512/b1474ec2/attachment.htm>


More information about the ltp mailing list