From 30a94ca0c4b70f51a403da93a9cd8cae83c1a5e1 Mon Sep 17 00:00:00 2001 From: Abdirahim Musse <33973272+abmusse@users.noreply.github.com> Date: Mon, 22 Jul 2024 11:39:04 +0000 Subject: [PATCH] test: skip --title check on IBM i Similar to SmartOS IBM i does not return the process.title PR-URL: https://github.com/nodejs/node/pull/53952 Fixes: https://github.com/nodejs/node/issues/53852 Reviewed-By: Richard Lau Reviewed-By: Luigi Pinca Reviewed-By: James M Snell --- 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'); }