From f8d477859436654e86c2097f92d51a75c16e74ba Mon Sep 17 00:00:00 2001 From: Abdirahim Musse <33973272+abmusse@users.noreply.github.com> Date: Fri, 19 Jul 2024 12:05:12 -0500 Subject: [PATCH] test(test-worker-node-options): skip --title check Similar to SmartOS IBM i does not return the process.title --- test/fixtures/spawn-worker-with-copied-env.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fixtures/spawn-worker-with-copied-env.js b/test/fixtures/spawn-worker-with-copied-env.js index 51e64bd8755b6d..f33f86fcc6fe7c 100644 --- a/test/fixtures/spawn-worker-with-copied-env.js +++ b/test/fixtures/spawn-worker-with-copied-env.js @@ -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'); }