mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
test: skip --title check on IBM i
Similar to SmartOS IBM i does not return the process.title PR-URL: https://github.com/nodejs/node/pull/53952 Fixes: https://github.com/nodejs/node/issues/53852 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
1c1c9bf33a
commit
c83af17ff9
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
// This test is meant to be spawned with NODE_OPTIONS=--title=foo
|
// This test is meant to be spawned with NODE_OPTIONS=--title=foo
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
if (process.platform !== 'sunos') { // --title is unsupported on SmartOS.
|
if (process.platform !== 'sunos' && process.platform !== 'os400') { // --title is unsupported on SmartOS and IBM i.
|
||||||
assert.strictEqual(process.title, 'foo');
|
assert.strictEqual(process.title, 'foo');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue