Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: skip --title check on IBM i
Similar to SmartOS IBM i does not return the process.title
  • Loading branch information
abmusse committed Jul 19, 2024
commit af0f504402643cec42b48a1e962348044c391bd7
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