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

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>
  • Loading branch information
abmusse authored and RafaelGSS committed Aug 5, 2024
1 parent 66f6a2a commit 30a94ca
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 30a94ca

Please sign in to comment.