[CRIU] [PATCH 3/4 v2] test: poll -- Use gettimeofday syscall directly

Cyrill Gorcunov gorcunov at gmail.com
Fri Mar 27 04:12:43 PDT 2015


On Fri, Mar 27, 2015 at 02:09:24PM +0300, Pavel Emelyanov wrote:
> 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.

After fixing @errno the test start passing in ns/ for me as well,
so I've been scratching my head what trying to figure out what
it was, but didn't find anwer. Drop it.


More information about the CRIU mailing list