Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: formatting skip messages for TAP parsing #2109

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/internet/test-http-https-default-ports.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var assert = require('assert');

if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');
process.exit();
return;
}
var https = require('https');

Expand Down
2 changes: 1 addition & 1 deletion test/internet/test-tls-connnect-cnnic.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
var common = require('../common');
if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');
process.exit();
return;
}

var tls = require('tls');
Expand Down
2 changes: 1 addition & 1 deletion test/internet/test-tls-connnect-melissadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
var common = require('../common');
if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');
process.exit();
return;
}

var tls = require('tls');
Expand Down
2 changes: 1 addition & 1 deletion test/internet/test-tls-reuse-host-from-socket.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var assert = require('assert');

if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');
process.exit();
return;
}
var tls = require('tls');

Expand Down
4 changes: 2 additions & 2 deletions test/parallel/test-cluster-bind-privileged-port.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ var cluster = require('cluster');
var net = require('net');

if (process.platform === 'win32') {
console.log('Skipping test, not reliable on Windows.');
process.exit(0);
console.log('1..0 # Skipped: not reliable on Windows.');
return;
}

if (process.getuid() === 0) {
Expand Down
4 changes: 2 additions & 2 deletions test/parallel/test-cluster-disconnect-unshared-udp.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';
if (process.platform === 'win32') {
console.log('skipping test on windows, where clustered dgram is ENOTSUP');
process.exit(0);
console.log('1..0 # Skipped: on windows, because clustered dgram is ENOTSUP');
return;
}

var cluster = require('cluster');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ var cluster = require('cluster');
var net = require('net');

if (process.platform === 'win32') {
console.log('Skipping test, not reliable on Windows.');
process.exit(0);
console.log('1..0 # Skipped: not reliable on Windows');
return;
}

if (process.getuid() === 0) {
console.log('Do not run this test as root.');
process.exit(0);
console.log('1..0 # Skipped: as this test should not be run as `root`');
return;
}

if (cluster.isMaster) {
Expand Down
4 changes: 2 additions & 2 deletions test/parallel/test-crypto-authenticated.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var assert = require('assert');

if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');
process.exit();
return;
}
var crypto = require('crypto');

Expand Down Expand Up @@ -56,7 +56,7 @@ for (var i in TEST_CASES) {
var test = TEST_CASES[i];

if (ciphers.indexOf(test.algo) == -1) {
console.log('skipping unsupported ' + test.algo + ' test');
console.log('1..0 # Skipped: unsupported ' + test.algo + ' test');
continue;
}

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-binary-default.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var constants = require('constants');

if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');
process.exit();
return;
}
var crypto = require('crypto');
var tls = require('tls');
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-certificate.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var assert = require('assert');

if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');
process.exit();
return;
}
var crypto = require('crypto');

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-cipher-decipher.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var assert = require('assert');

if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');
process.exit();
return;
}
var crypto = require('crypto');

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-dh-odd-key.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var assert = require('assert');

if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');
process.exit();
return;
}
var crypto = require('crypto');

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-dh.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var constants = require('constants');

if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');
process.exit();
return;
}
var crypto = require('crypto');

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-domain.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var domain = require('domain');

if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');
process.exit();
return;
}
var crypto = require('crypto');

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-domains.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var errors = 0;

if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');
process.exit();
return;
}
var crypto = require('crypto');

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-ecb.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var assert = require('assert');

if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');
process.exit();
return;
}
var crypto = require('crypto');

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-from-binary.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var assert = require('assert');

if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');
process.exit();
return;
}
var crypto = require('crypto');

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-hash-stream-pipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var assert = require('assert');

if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');
process.exit();
return;
}
var crypto = require('crypto');

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-hash.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var path = require('path');

if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');
process.exit();
return;
}
var crypto = require('crypto');

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-hmac.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var assert = require('assert');

if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');
process.exit();
return;
}
var crypto = require('crypto');

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-padding-aes256.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var assert = require('assert');

if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');
process.exit();
return;
}
var crypto = require('crypto');

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-padding.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var assert = require('assert');

if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');
process.exit();
return;
}
var crypto = require('crypto');

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-pbkdf2.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var assert = require('assert');

if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');
process.exit();
return;
}
var crypto = require('crypto');

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-random.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var assert = require('assert');

if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');
process.exit();
return;
}
var crypto = require('crypto');

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-rsa-dsa.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var constants = require('constants');

if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');
process.exit();
return;
}
var crypto = require('crypto');

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-sign-verify.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var fs = require('fs');

if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');
process.exit();
return;
}
var crypto = require('crypto');

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var util = require('util');

if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');
process.exit();
return;
}
var crypto = require('crypto');

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-verify-failure.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var assert = require('assert');

if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');
process.exit();
return;
}
var crypto = require('crypto');
var tls = require('tls');
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-crypto.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var util = require('util');

if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');
process.exit();
return;
}
var crypto = require('crypto');

Expand Down
4 changes: 2 additions & 2 deletions test/parallel/test-dgram-bind-default-address.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var dgram = require('dgram');
// skip test in FreeBSD jails since 0.0.0.0 will resolve to default interface
if (common.inFreeBSDJail) {
console.log('1..0 # Skipped: In a FreeBSD jail');
process.exit();
return;
}

dgram.createSocket('udp4').bind(common.PORT + 0, common.mustCall(function() {
Expand All @@ -16,7 +16,7 @@ dgram.createSocket('udp4').bind(common.PORT + 0, common.mustCall(function() {
}));

if (!common.hasIPv6) {
console.error('Skipping udp6 part of test, no IPv6 support');
console.log('1..0 # Skipped: udp6 part of test, because no IPv6 support');
return;
}

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-dgram-empty-packet.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var client;
var timer;

if (process.platform === 'darwin') {
console.error('Test is disabled due to 17894467 Apple bug');
console.log('1..0 # Skipped: because of 17894467 Apple bug');
return;
}

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-dgram-send-empty-buffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var callbacks = 0;
var client, timer, buf;

if (process.platform === 'darwin') {
console.error('Test is disabled due to 17894467 Apple bug');
console.log('1..0 # Skipped: because of 17894467 Apple bug');
return;
}

Expand Down
4 changes: 2 additions & 2 deletions test/parallel/test-fs-readfile-error.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ var path = require('path');
// `fs.readFile('/')` does not fail on FreeBSD, because you can open and read
// the directory there.
if (process.platform === 'freebsd') {
console.error('Skipping test, platform not supported.');
process.exit();
console.log('1..0 # Skipped: platform not supported.');
return;
}

var callbacks = 0;
Expand Down
4 changes: 2 additions & 2 deletions test/parallel/test-fs-readfile-pipe-large.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ var path = require('path');
// simulate `cat readfile.js | node readfile.js`

if (process.platform === 'win32') {
console.error('No /dev/stdin on windows. Skipping test.');
process.exit();
console.log('1..0 # Skipped: No /dev/stdin on windows.');
return;
}

var fs = require('fs');
Expand Down
4 changes: 2 additions & 2 deletions test/parallel/test-fs-readfile-pipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ var assert = require('assert');
// simulate `cat readfile.js | node readfile.js`

if (process.platform === 'win32') {
console.error('No /dev/stdin on windows. Skipping test.');
process.exit();
console.log('1..0 # Skipped: No /dev/stdin on windows.');
return;
}

var fs = require('fs');
Expand Down
4 changes: 2 additions & 2 deletions test/parallel/test-fs-readfilesync-pipe-large.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ var path = require('path');
// simulate `cat readfile.js | node readfile.js`

if (process.platform === 'win32') {
console.error('No /dev/stdin on windows. Skipping test.');
process.exit();
console.log('1..0 # Skipped: No /dev/stdin on windows.');
return;
}

var fs = require('fs');
Expand Down
Loading