test: relax the FS test a slight bit to be more reliable
authorSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 11 Aug 2016 16:58:12 +0000 (16:58 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 11 Aug 2016 16:58:12 +0000 (16:58 +0000)
commitf5b8d8249e1a6932b41b8103d16c60d298648346
tree5fb6c2236bf75aae7270952ba9f48765f562491a
parent51b4aee94f71bc75100465f336fa8b34161e8a11
test: relax the FS test a slight bit to be more reliable

Some filesystems track atime always.  This relaxes the test to accept either a
filesystem which does not accurately track atime or does track the atime
accurately.  This allows the test to pass on filesystems mounted with
`strictatime` on Linux or on macOS.

llvm-svn: 278357
libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.last_write_time/last_write_time.pass.cpp