diff options
author | Sakthipriyan Vairamani <thechargingvolcano@gmail.com> | 2015-07-06 03:24:12 +0000 |
---|---|---|
committer | Sakthipriyan Vairamani <thechargingvolcano@gmail.com> | 2015-07-20 15:46:30 +0530 |
commit | 69298d36cfe1d5ad2ade0e64586959cc18c7ea4e (patch) | |
tree | 4a59741049b6fd52fdfd14e285c060f5c61cf543 /test/parallel/test-fs-realpath.js | |
parent | 6b85d5a4b356598e2a561ed23e6019bc45456bc8 (diff) | |
download | android-node-v8-69298d36cfe1d5ad2ade0e64586959cc18c7ea4e.tar.gz android-node-v8-69298d36cfe1d5ad2ade0e64586959cc18c7ea4e.tar.bz2 android-node-v8-69298d36cfe1d5ad2ade0e64586959cc18c7ea4e.zip |
test: formatting skip messages for TAP parsing
This patch makes the skip messages consistent so that the TAP plugin
in CI can parse the messages properly. The format will be
1..0 # Skipped: [Actual reason why the test is skipped]
PR-URL: https://github.com/nodejs/io.js/pull/2109
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Diffstat (limited to 'test/parallel/test-fs-realpath.js')
-rw-r--r-- | test/parallel/test-fs-realpath.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/parallel/test-fs-realpath.js b/test/parallel/test-fs-realpath.js index 718ec2f7aa..a87ef2428d 100644 --- a/test/parallel/test-fs-realpath.js +++ b/test/parallel/test-fs-realpath.js @@ -80,7 +80,7 @@ function test_simple_error_callback(cb) { function test_simple_relative_symlink(callback) { console.log('test_simple_relative_symlink'); if (skipSymlinks) { - console.log('skipping symlink test (no privs)'); + console.log('1..0 # Skipped: symlink test (no privs)'); return runNextTest(); } var entry = common.tmpDir + '/symlink', @@ -143,7 +143,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('skipping symlink test (no privs)'); + console.log('1..0 # Skipped: symlink test (no privs)'); return runNextTest(); } @@ -175,7 +175,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('skipping symlink test (no privs)'); + console.log('1..0 # Skipped: symlink test (no privs)'); return runNextTest(); } var expected = path.join(common.fixturesDir, 'cycles', 'folder'); @@ -207,7 +207,7 @@ function test_deep_relative_dir_symlink(callback) { function test_cyclic_link_protection(callback) { console.log('test_cyclic_link_protection'); if (skipSymlinks) { - console.log('skipping symlink test (no privs)'); + console.log('1..0 # Skipped: symlink test (no privs)'); return runNextTest(); } var entry = common.tmpDir + '/cycles/realpath-3a'; @@ -230,7 +230,7 @@ function test_cyclic_link_protection(callback) { function test_cyclic_link_overprotection(callback) { console.log('test_cyclic_link_overprotection'); if (skipSymlinks) { - console.log('skipping symlink test (no privs)'); + console.log('1..0 # Skipped: symlink test (no privs)'); return runNextTest(); } var cycles = common.tmpDir + '/cycles'; @@ -251,7 +251,7 @@ function test_cyclic_link_overprotection(callback) { function test_relative_input_cwd(callback) { console.log('test_relative_input_cwd'); if (skipSymlinks) { - console.log('skipping symlink test (no privs)'); + console.log('1..0 # Skipped: symlink test (no privs)'); return runNextTest(); } @@ -295,7 +295,7 @@ function test_deep_symlink_mix(callback) { if (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('skipping symlink test (no way to work on windows)'); + console.log('1..0 # Skipped: symlink test (no privs)'); return runNextTest(); } @@ -391,7 +391,7 @@ assert.equal(upone, uponeActual, function test_up_multiple(cb) { console.error('test_up_multiple'); if (skipSymlinks) { - console.log('skipping symlink test (no privs)'); + console.log('1..0 # Skipped: symlink test (no privs)'); return runNextTest(); } function cleanup() { |