test: don't use cwd for relative path
authorJohan Bergström <bugs@bergstroem.nu>
Wed, 30 Dec 2015 06:24:25 +0000 (17:24 +1100)
committerMyles Borins <mborins@us.ibm.com>
Tue, 19 Jan 2016 19:52:41 +0000 (11:52 -0800)
commit46d8c93ed2350fc1742b5b0ecd1f223598778c15
treedda7870296fcf590c1e1b115d03d42d506016c0d
parent33e72e135fa10b00355dd8e7415bc038ef7bec5e
test: don't use cwd for relative path

With the introduction of temporary paths in the test runner
realpath tests would bail in scenarios where the temporary folder
wasn't in the same directory as the source code.

PR-URL: https://github.com/nodejs/node/pull/4477
Reviewed-By: Rich Trott <rtrott@gmail.com>
test/parallel/test-fs-realpath.js