[LTP] [PATCH v2] Remove ftime and sys/timeb.h

Petr Vorel
2020-10-23T07:18:36Z

Hi all,

> Yang Xu <xuyang2018.jy@cn.fujitsu.com> wrote:

> > The two case uses ftime to get the current milliseconds and it was
> > used to generate random value. Using gettimeofday() to get the microseconds
> > can reach the same aim.

> > This also fixes the travis build error[1] on Fedora:Rawhide because the <sys/timeb.h>
> > has been deprecated[2].

> > [1] https://travis-ci.org/github/linux-test-project/ltp/jobs/737698948
> > [2] https://www.spinics.net/lists/fedora-devel/msg279545.html

> > Reviewed-by: Li Wang <liwang@redhat.com>
> > Acked-by: Jan Stancek <jstancek@redhat.com>
> > Acked-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
> > Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com>

> Pushed, thanks!
Thanks for handling these!

Kind regards,
Petr