test: use normalize() for unicode paths
authorRoman Reiss <me@silverwind.io>
Tue, 22 Sep 2015 16:31:01 +0000 (18:31 +0200)
committerJames M Snell <jasnell@gmail.com>
Thu, 8 Oct 2015 03:39:16 +0000 (20:39 -0700)
commitddf258376dd35d5813255b921701a75b28611979
tree772752f9542502d4b447b42b9c7b005429f64a1b
parent63644dd1cd6e6765b52f60d54b0f94f7c69a8f79
test: use normalize() for unicode paths

OS X 10.11 changed the unicode normalization form of certain code points
returned by system calls like getcwd() from NFC to NFD which made
results in this test failing.

The consensus of https://github.com/nodejs/node/issues/2165 is to delegate
the task of unicode normalization to the user, and work will continue to
document how to handle unicode in a form-sensitive file system.

PR-URL: https://github.com/nodejs/node/pull/3007
Fixes: https://github.com/nodejs/node/issues/2165
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
test/parallel/test-process-chdir.js