joyent/node — pull request #5079 by sblom (2013-03-19 00:44:37+00:00)
Title: test: Unit test fixes for Windows

* test: Ignore symlink tests (Windows) if not admin
* test: Fix typo on failure-path code
* path: Normalize capitalization of drive letter …

Fixes #5071, #5073.

The `test_relative_input_cwd()` test was failing on Windows when
`skipSymlinks` was `true`. So we won't run it if `skipSymlinks` is
`true`.

When it failed, the unhandled error caused Node to die before
having a chance to clean up, which resulted in two files missing
in subsequent unit tests:

* `test/fixtures/nested-index/one/hello.js`
* `test/fixtures/nested-index/one/index.js`

We should probably find a way to isolate this test from the other
test (`simple/test-module-loading`) that was failing when this test
poluted the disk state.