Page MenuHomeFreeBSD

makefs: Fix atime tests on MS-DOS (FAT) file systems
AcceptedPublic

Authored by jlduran on Wed, Jan 7, 7:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 9, 12:57 PM
Unknown Object (File)
Thu, Jan 8, 5:49 PM
Unknown Object (File)
Thu, Jan 8, 5:30 AM
Unknown Object (File)
Thu, Jan 8, 1:06 AM
Subscribers

Details

Reviewers
ngie
Group Reviewers
tests
Summary

On FAT file systems, access time has a resolution of 1 day, so it is
really the access date.

Strip the time component from the epoch timestamp in order to check the
access time.

Reference: https://learn.microsoft.com/en-us/windows/win32/sysinfo/file-times

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 69696
Build 66579: arc lint + arc unit