[LTP] [PATCH 2/5] syscalls: settimeofday: Use gettimeofday()

Cyril Hrubis chrubis@suse.cz
Tue May 19 14:16:17 CEST 2020


Hi!
You can set the .restore_wallclock flag in the tst_test structure for
these two tests and remove the setup() and cleanup() as well.

Also in the settimeofday02 I would be inclined to just remove the clock
restoration code, since there is no way the tim will be changed unless
the kernel is buggy.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list