Fix flaky symlink access time test.
authorEric Fiselier <eric@efcs.ca>
Sat, 5 Jan 2019 21:18:10 +0000 (21:18 +0000)
committerEric Fiselier <eric@efcs.ca>
Sat, 5 Jan 2019 21:18:10 +0000 (21:18 +0000)
commit5792cf42b7779b3709cdae1598d388a47bfb446a
tree9b337a67735b0e96e3bc77c7f5075a5bd1a4b6e7
parent74b936ec980f291df8b6985bd32dcd97a4d7024b
Fix flaky symlink access time test.

last_write_time(sym, new_time) changes the modification time of the file
referenced by the symlink. But reading through the symlink may change the
symlinks's access time.

This meant the previous test that checked that the symlinks access
time was unchanged was incorrect and made the test flaky.

This patch removes this test (there really is no non-flaky way
to test that the new access time coorisponds to the time at which
the symlink was last dereferenced). This should unflake the test.

llvm-svn: 350478
libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/last_write_time.pass.cpp