1// Flags: --title=foo 2'use strict'; 3 4const common = require('../common'); 5 6if (common.isSunOS) 7 common.skip(`Unsupported platform [${process.platform}]`); 8 9if (common.isIBMi) 10 common.skip('Unsupported platform IBMi'); 11 12const assert = require('assert'); 13 14// Verifies that the --title=foo command line flag set the process 15// title on startup. 16assert.strictEqual(process.title, 'foo'); 17