Browse Source

test: assert tmp and fixture dirs different

PR-URL: https://github.com/nodejs/io.js/pull/2015
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
v2.3.1-release
Rich Trott 10 years ago
parent
commit
5d2b846d11
  1. 3
      test/parallel/test-fs-realpath.js

3
test/parallel/test-fs-realpath.js

@ -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);
@ -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

Loading…
Cancel
Save