summaryrefslogtreecommitdiff
path: root/test/parallel/test-cluster-bind-privileged-port.js
diff options
context:
space:
mode:
authorXu Meng <mengxumx@cn.ibm.com>2019-11-29 02:28:49 -0600
committerRichard Lau <riclau@uk.ibm.com>2019-12-02 12:33:50 -0500
commitf0a31e5eb9c8512ec1d2badc9c372e544a0922e4 (patch)
treee7250e154d597deeb99e4cce23977a65f5fd419b /test/parallel/test-cluster-bind-privileged-port.js
parent3b484edce3736cbcba26be1eec512df5282ca5bf (diff)
downloadnode-new-f0a31e5eb9c8512ec1d2badc9c372e544a0922e4.tar.gz
test: add an indicator `isIBMi`
We have to skip some test cases on IBM i. On IBM i, process.platform and os.platform() both return aix, It is not enough to differentiate between IBM i and real AIX system. Also updated parallel/test-cluster-bind-privileged-port.js for test. PR-URL: https://github.com/nodejs/node/pull/30714 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'test/parallel/test-cluster-bind-privileged-port.js')
-rw-r--r--test/parallel/test-cluster-bind-privileged-port.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/parallel/test-cluster-bind-privileged-port.js b/test/parallel/test-cluster-bind-privileged-port.js
index e95768a8fc..57aa4c735d 100644
--- a/test/parallel/test-cluster-bind-privileged-port.js
+++ b/test/parallel/test-cluster-bind-privileged-port.js
@@ -26,6 +26,9 @@ const common = require('../common');
if (common.isOSX)
common.skip('macOS may allow ordinary processes to use any port');
+if (common.isIBMi)
+ common.skip('IBMi may allow ordinary processes to use any port');
+
if (common.isWindows)
common.skip('not reliable on Windows.');