Skip to content

Commit

Permalink
test: assert tmp and fixture dirs different
Browse files Browse the repository at this point in the history
PR-URL: #2015
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
  • Loading branch information
Trott committed Jun 22, 2015
1 parent a4f4909 commit 5d2b846
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/parallel/test-fs-realpath.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ function tmp(p) {

var fixturesAbsDir = common.fixturesDir;
var tmpAbsDir = common.tmpDir;
assert(fixturesAbsDir !== tmpAbsDir);

console.error('absolutes\n%s\n%s', fixturesAbsDir, tmpAbsDir);

Expand Down Expand Up @@ -298,8 +299,6 @@ function test_deep_symlink_mix(callback) {
return runNextTest();
}

// todo: check to see that common.fixturesDir is not rooted in the
// same directory as our test symlink.
/*
/tmp/node-test-realpath-f1 -> ../tmp/node-test-realpath-d1/foo
/tmp/node-test-realpath-d1 -> ../node-test-realpath-d2
Expand Down

0 comments on commit 5d2b846

Please sign in to comment.