summaryrefslogtreecommitdiff
path: root/test/parallel/test-process-getgroups.js
diff options
context:
space:
mode:
authorJeremiah Senkpiel <fishrock123@rocketmail.com>2016-05-11 15:34:52 -0400
committerJeremiah Senkpiel <fishrock123@rocketmail.com>2016-05-12 16:43:35 -0400
commit52bae222a3a8480b2b30d8dc4629b64a284410d4 (patch)
tree480b7f6bfc0c4ef6863c2aaec3260c893d558e80 /test/parallel/test-process-getgroups.js
parentdffafde7f1b5335bcb50c3c72d55add41ca00924 (diff)
downloadandroid-node-v8-52bae222a3a8480b2b30d8dc4629b64a284410d4.tar.gz
android-node-v8-52bae222a3a8480b2b30d8dc4629b64a284410d4.tar.bz2
android-node-v8-52bae222a3a8480b2b30d8dc4629b64a284410d4.zip
test: abstract skip functionality to common
The tap skipping output is so prevalent yet obscure in nature that we ought to move it into it's own function in test/common.js PR-URL: https://github.com/nodejs/node/pull/6697 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Diffstat (limited to 'test/parallel/test-process-getgroups.js')
-rw-r--r--test/parallel/test-process-getgroups.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-process-getgroups.js b/test/parallel/test-process-getgroups.js
index 08eab8d5a8..6d07692a76 100644
--- a/test/parallel/test-process-getgroups.js
+++ b/test/parallel/test-process-getgroups.js
@@ -1,10 +1,10 @@
'use strict';
-require('../common');
+const common = require('../common');
var assert = require('assert');
var exec = require('child_process').exec;
if (process.platform === 'darwin') {
- console.log('1..0 # Skipped: Output of `id -G` is unreliable on Darwin.');
+ common.skip('Output of `id -G` is unreliable on Darwin.');
return;
}