|
|
@ -82,7 +82,7 @@ function test_simple_error_callback(cb) { |
|
|
|
function test_simple_relative_symlink(callback) { |
|
|
|
console.log('test_simple_relative_symlink'); |
|
|
|
if (skipSymlinks) { |
|
|
|
console.log('1..0 # Skipped: symlink test (no privs)'); |
|
|
|
common.skip('symlink test (no privs)'); |
|
|
|
return runNextTest(); |
|
|
|
} |
|
|
|
const entry = common.tmpDir + '/symlink'; |
|
|
@ -131,7 +131,7 @@ function test_simple_absolute_symlink(callback) { |
|
|
|
function test_deep_relative_file_symlink(callback) { |
|
|
|
console.log('test_deep_relative_file_symlink'); |
|
|
|
if (skipSymlinks) { |
|
|
|
console.log('1..0 # Skipped: symlink test (no privs)'); |
|
|
|
common.skip('symlink test (no privs)'); |
|
|
|
return runNextTest(); |
|
|
|
} |
|
|
|
|
|
|
@ -160,7 +160,7 @@ function test_deep_relative_file_symlink(callback) { |
|
|
|
function test_deep_relative_dir_symlink(callback) { |
|
|
|
console.log('test_deep_relative_dir_symlink'); |
|
|
|
if (skipSymlinks) { |
|
|
|
console.log('1..0 # Skipped: symlink test (no privs)'); |
|
|
|
common.skip('symlink test (no privs)'); |
|
|
|
return runNextTest(); |
|
|
|
} |
|
|
|
var expected = path.join(common.fixturesDir, 'cycles', 'folder'); |
|
|
@ -188,7 +188,7 @@ function test_deep_relative_dir_symlink(callback) { |
|
|
|
function test_cyclic_link_protection(callback) { |
|
|
|
console.log('test_cyclic_link_protection'); |
|
|
|
if (skipSymlinks) { |
|
|
|
console.log('1..0 # Skipped: symlink test (no privs)'); |
|
|
|
common.skip('symlink test (no privs)'); |
|
|
|
return runNextTest(); |
|
|
|
} |
|
|
|
var entry = common.tmpDir + '/cycles/realpath-3a'; |
|
|
@ -211,7 +211,7 @@ function test_cyclic_link_protection(callback) { |
|
|
|
function test_cyclic_link_overprotection(callback) { |
|
|
|
console.log('test_cyclic_link_overprotection'); |
|
|
|
if (skipSymlinks) { |
|
|
|
console.log('1..0 # Skipped: symlink test (no privs)'); |
|
|
|
common.skip('symlink test (no privs)'); |
|
|
|
return runNextTest(); |
|
|
|
} |
|
|
|
var cycles = common.tmpDir + '/cycles'; |
|
|
@ -232,7 +232,7 @@ function test_cyclic_link_overprotection(callback) { |
|
|
|
function test_relative_input_cwd(callback) { |
|
|
|
console.log('test_relative_input_cwd'); |
|
|
|
if (skipSymlinks) { |
|
|
|
console.log('1..0 # Skipped: symlink test (no privs)'); |
|
|
|
common.skip('symlink test (no privs)'); |
|
|
|
return runNextTest(); |
|
|
|
} |
|
|
|
|
|
|
@ -271,7 +271,7 @@ function test_deep_symlink_mix(callback) { |
|
|
|
if (common.isWindows) { |
|
|
|
// This one is a mix of files and directories, and it's quite tricky
|
|
|
|
// to get the file/dir links sorted out correctly.
|
|
|
|
console.log('1..0 # Skipped: symlink test (no privs)'); |
|
|
|
common.skip('symlink test (no privs)'); |
|
|
|
return runNextTest(); |
|
|
|
} |
|
|
|
|
|
|
@ -358,7 +358,7 @@ assert.equal(upone, uponeActual, |
|
|
|
function test_up_multiple(cb) { |
|
|
|
console.error('test_up_multiple'); |
|
|
|
if (skipSymlinks) { |
|
|
|
console.log('1..0 # Skipped: symlink test (no privs)'); |
|
|
|
common.skip('symlink test (no privs)'); |
|
|
|
return runNextTest(); |
|
|
|
} |
|
|
|
function cleanup() { |
|
|
|