[LTP] [PATCH v2] Remove ftime and sys/timeb.h
Li Wang
liwang@redhat.com
Fri Oct 23 04:09:58 CEST 2020
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!
--
Regards,
Li Wang
More information about the ltp
mailing list