[all-commits] [llvm/llvm-project] a680ea: Fix "last accessed time" test failing on Windows
Alexandre Ganea via All-commits
all-commits at lists.llvm.org
Mon Aug 10 13:03:34 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a680ea2c720751a3d724fd8282515924acb3bd32
https://github.com/llvm/llvm-project/commit/a680ea2c720751a3d724fd8282515924acb3bd32
Author: Alexandre Ganea <alexandre.ganea at ubisoft.com>
Date: 2020-08-10 (Mon, 10 Aug 2020)
Changed paths:
M llvm/test/tools/llvm-objcopy/ELF/strip-preserve-atime.test
Log Message:
-----------
Fix "last accessed time" test failing on Windows
Before this patch, the tests in llvm/test/tools/llvm-objcopy/ELF/strip-preserve-atime.test used to fail on my machine, because the "last accessed time" is disabled in the OS by default since Windows XP. One needs to explicitly enable it for the feature to work. Otherwise the last access time is the last write time. Please see: https://superuser.com/questions/251263/the-last-access-date-is-not-changed-even-after-reading-the-file-on-windows-7
Differential Revision: https://reviews.llvm.org/D85669
More information about the All-commits
mailing list