[PATCH] D55271: [test] Split strip-preserve-time.test, and skip atime test on NetBSD

Michał Górny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 4 07:50:28 PST 2018


mgorny created this revision.
mgorny added reviewers: krytarowski, rupprecht, jhenderson, alexshap.
Herald added subscribers: delcypher, jakehehrlich, arichardson, emaste.
Herald added a reviewer: espindola.

Split timestamp preservation tests into atime and mtime test, and skip
the former on NetBSD.  When the filesystem is mounted noatime, NetBSD
not only inhibits implicit atime updates but also prevents setting atime
via utime(), causing the test to fail.


Repository:
  rL LLVM

https://reviews.llvm.org/D55271

Files:
  test/tools/llvm-objcopy/ELF/strip-preserve-atime.test
  test/tools/llvm-objcopy/ELF/strip-preserve-mtime.test
  test/tools/llvm-objcopy/ELF/strip-preserve-time.test
  utils/lit/lit/llvm/config.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55271.176637.patch
Type: text/x-patch
Size: 6937 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181204/e0a41430/attachment.bin>


More information about the llvm-commits mailing list