◐ Shell
clean mode source ↗

test: skip --title check on IBM i · nodejs/node@56c26fe

Original file line numberDiff line numberDiff line change

@@ -2,7 +2,7 @@

22
33

// This test is meant to be spawned with NODE_OPTIONS=--title=foo

44

const assert = require('assert');

5-

if (process.platform !== 'sunos') { // --title is unsupported on SmartOS.

5+

if (process.platform !== 'sunos' && process.platform !== 'os400') { // --title is unsupported on SmartOS and IBM i.

66

assert.strictEqual(process.title, 'foo');

77

}

88