joyent/node — pull request #3439 by isaacs (2012-06-14 20:39:36+00:00)
Title: Fix test-fs-realpath on Windows

Also, in the process, fix a bug in fs.realpath on Windows.

If the user has permission to create symlinks, then use symlinks. If
not, then skip over all the tests that cannot be run using Junctions
instead.

One cyclic-symlink test is also skipped on windows, since I can't figure out how to make windows not freak out at them.