summaryrefslogtreecommitdiff
path: root/test/parallel/test-process-title-cli.js
blob: b6160fed1d03901ef5c7b5f5e5e82ea7a801c529 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Flags: --title=foo
'use strict';

const common = require('../common');

if (common.isSunOS)
  common.skip(`Unsupported platform [${process.platform}]`);

const assert = require('assert');

// Verifies that the --title=foo command line flag set the process
// title on startup.
assert.strictEqual(process.title, 'foo');