[LTP] [PATCH 4/4] syscalls/utime03: Convert to new API

Martin Doucha mdoucha@suse.cz
Thu Sep 16 15:44:18 CEST 2021


On 16. 09. 21 15:42, Cyril Hrubis wrote:
> Hi!
>>>> +	mintime = time(0);
>>>> +	TST_EXP_PASS(utime(TEMP_FILE, NULL));
>>>> +	maxtime = time(0);
>>>
>>> I wonder if this suffers the problem as the ipc timestamps:
>>>
>>> https://github.com/linux-test-project/ltp/commit/d37bde3defa12556ba7399f4131996f8e490490a
>>
>> Possibly. Let's find out, we can always fix the test in the next release.
> 
> I guess that it would also depend on a underlying filesystem and how
> timestamps are rounded in there, so I guess that we should turn on the
> .all_filesystems flag for the test as well. What do you think?

That sounds like a good idea.

-- 
Martin Doucha   mdoucha@suse.cz
QA Engineer for Software Maintenance
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic


More information about the ltp mailing list