[CRIU] [PATCH 3/4 v2] test: poll -- Use gettimeofday syscall directly
Pavel Emelyanov
xemul at parallels.com
Fri Mar 27 04:09:24 PDT 2015
On 03/26/2015 11:29 AM, Cyrill Gorcunov wrote:
> On Thu, Mar 26, 2015 at 11:23:14AM +0300, Cyrill Gorcunov wrote:
>> The gettimeofday uses /etc/localtime (thanks avagin@
>> for the hint) which is not present in namespace tests.
>> So lets use syscall directly and make test pass in
>> namespace environment as well.
But why do we need it? AFAIU from the thread, absence of /etc/localtime
doesn't make this libc call to fail.
>> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
>
> There were a small nit. Update attached.
>
More information about the CRIU
mailing list