test: confirm symlink
Compare mtime
returned by lstat()
to that from stat()
. Former should be mtime of the symlink created by the test, while the latter is the mtime of the file it points to that existed before the test was run.
Using mtime
instead of ctime
because ctime
is different things on different operating systems and this test will fail on some of them when using ctime
.
CI: https://jenkins-iojs.nodesource.com/job/iojs+any-pr+multi/53/
This PR addresses a todo
comment in the code.