mirror of
https://github.com/nodejs/node.git
synced 2025-08-16 06:08:50 +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
|
@ -76,8 +76,9 @@ noEntSocketClient.on('error', common.mustCall(function(err) {
|
|||
}));
|
||||
|
||||
|
||||
// On Windows or when running as root, a chmod has no effect on named pipes
|
||||
if (!common.isWindows && process.getuid() !== 0) {
|
||||
// On Windows or IBMi or when running as root,
|
||||
// a chmod has no effect on named pipes
|
||||
if (!common.isWindows && !common.isIBMi && process.getuid() !== 0) {
|
||||
// Trying to connect to a socket one has no access to should result in EACCES
|
||||
const accessServer = net.createServer(
|
||||
common.mustNotCall('server callback should not run'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue