Skip to content

Commit

Permalink
test: skip --title check on IBM i
Browse files Browse the repository at this point in the history
Similar to SmartOS IBM i does not return the process.title
  • Loading branch information
abmusse committed Jul 19, 2024
1 parent 03f7f8c commit af0f504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/fixtures/spawn-worker-with-copied-env.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// This test is meant to be spawned with NODE_OPTIONS=--title=foo
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');
}

Expand Down

0 comments on commit af0f504

Please sign in to comment.