[LTP] sys_rtc01: Report TCONF on system time mismatch when STA_UNSYNC is set
Cyril Hrubis
chrubis@suse.cz
Thu Nov 19 08:55:54 CET 2026
Hi!
> > Hmm, I guess that the logic should be the other way, if STA_UNSYNC is
> > not set the clock was modified by NTP and the test should be skipped:
>
> I think the logic in 3d11e5dd622e as applied is the right way around;
> inverting it would bring back the failure this patch fixes.
I was thinking about this yesterday and I think that we should redesign
the test to make it simpler and more robust. I will send a patch that
changes the test so that it samples rtc and monotonic timer for a while
and checks that they increase in the same steps. That removes the
absolute offset and the test stops being dependend on time being in
sync.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list