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

Cyril Hrubis chrubis@suse.cz
Thu Sep 16 15:42:51 CEST 2021


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?

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list