[LTP] [RFC] [PATCH] lib/tst_test: Use CLOCK_MONOTONIC for -I option.

Cyril Hrubis chrubis@suse.cz
Tue Jan 23 09:47:53 CET 2018


Hi!
> > CLOCK_MONOTONIC has been added to linux in the 2.5 development branch so
> > this syscall is available in all 2.6 kernels hence it's reasonable to be
> > used it in the test library at this point it has been 15 years after
> > all.
> 
> LGTM.
> Compile tested on rhel59 rhel62 rhel69 rhel7 rhel6i386.

After thinking about this yesterday I think that we should do the same
for the old library just to keep testcase behavior consistent.

I will look into that and send follow up patch today.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list