Skip to content

Commit 30a94ca

Browse files
abmusseRafaelGSS
authored andcommitted
test: skip --title check on IBM i
Similar to SmartOS IBM i does not return the process.title PR-URL: #53952 Fixes: #53852 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 66f6a2a commit 30a94ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/fixtures/spawn-worker-with-copied-env.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// This test is meant to be spawned with NODE_OPTIONS=--title=foo
44
const assert = require('assert');
5-
if (process.platform !== 'sunos') { // --title is unsupported on SmartOS.
5+
if (process.platform !== 'sunos' && process.platform !== 'os400') { // --title is unsupported on SmartOS and IBM i.
66
assert.strictEqual(process.title, 'foo');
77
}
88

0 commit comments

Comments
 (0)