From 842e5a10ac59c826f875ef79e92d144e2655cc9a Mon Sep 17 00:00:00 2001 From: Johan Bergström Date: Wed, 30 Dec 2015 12:11:17 +1100 Subject: test: don't assume a certain folder structure A few tests assumed that temp dirs always lived in the same parent folder as fixtures. Make these use `common.tmpDir` instead. PR-URL: https://github.com/nodejs/node/pull/3325 Reviewed-By: Joao Reis --- test/parallel/test-fs-symlink-dir-junction-relative.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/parallel/test-fs-symlink-dir-junction-relative.js') diff --git a/test/parallel/test-fs-symlink-dir-junction-relative.js b/test/parallel/test-fs-symlink-dir-junction-relative.js index dcc4e989cc..cb3e5a464f 100644 --- a/test/parallel/test-fs-symlink-dir-junction-relative.js +++ b/test/parallel/test-fs-symlink-dir-junction-relative.js @@ -11,7 +11,7 @@ var expected_tests = 2; var linkPath1 = path.join(common.tmpDir, 'junction1'); var linkPath2 = path.join(common.tmpDir, 'junction2'); var linkTarget = path.join(common.fixturesDir); -var linkData = '../fixtures'; +var linkData = path.join(common.fixturesDir); common.refreshTmpDir(); @@ -42,4 +42,3 @@ function verifyLink(linkPath) { process.on('exit', function() { assert.equal(completed, expected_tests); }); - -- cgit v1.2.3