[LTP] [PATCH] syscalls/utime03: relax the check for 1 second difference

Petr Vorel pvorel@suse.cz
Thu Feb 20 11:51:14 CET 2025


Hi Jan,

> The test is using tst_get_fs_timestamp() which is using REALTIME_COARSE
> clock, which is slightly less accurate. Back in 2022 we added extra log
> message to print also min and max time. In those rare instances where
> it fails this extra log shows it failed by one second difference.

LGTM.
Acked-by: Petr Vorel <pvorel@suse.cz>

> Relax the check a little. Tested on aarch64 VMs, where it's usually
> reproducible after couple hundred iterations.

Thanks for testing!

Kind regards,
Petr


More information about the ltp mailing list