mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
262c66a851
This is a following PR of #30714. PR-URL: https://github.com/nodejs/node/pull/30819 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
17 lines
386 B
JavaScript
17 lines
386 B
JavaScript
// Flags: --title=foo
|
|
'use strict';
|
|
|
|
const common = require('../common');
|
|
|
|
if (common.isSunOS)
|
|
common.skip(`Unsupported platform [${process.platform}]`);
|
|
|
|
if (common.isIBMi)
|
|
common.skip('Unsupported platform IBMi');
|
|
|
|
const assert = require('assert');
|
|
|
|
// Verifies that the --title=foo command line flag set the process
|
|
// title on startup.
|
|
assert.strictEqual(process.title, 'foo');
|