mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 21:58:48 +02:00
test: skip the unsupported test cases for IBM i
This is a following PR of #30714. PR-URL: https://github.com/nodejs/node/pull/30819 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
parent
8baee5e311
commit
262c66a851
29 changed files with 108 additions and 21 deletions
|
@ -3,7 +3,8 @@ const common = require('../common');
|
|||
const assert = require('assert');
|
||||
const spawnSync = require('child_process').spawnSync;
|
||||
const signals = require('os').constants.signals;
|
||||
const rootUser = common.isWindows ? false : process.getuid() === 0;
|
||||
const rootUser = common.isWindows ? false :
|
||||
common.isIBMi ? true : process.getuid() === 0;
|
||||
|
||||
const invalidArgTypeError = common.expectsError(
|
||||
{ code: 'ERR_INVALID_ARG_TYPE', type: TypeError },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue