mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
437 B
18 lines
437 B
8 years ago
|
'use strict';
|
||
|
const common = require('../common');
|
||
|
|
||
|
// The inspector attempts to start when Node starts. Once started, the inspector
|
||
|
// warns on the use of a SIGPROF listener.
|
||
|
|
||
|
common.skipIfInspectorDisabled();
|
||
|
|
||
|
if (common.isWindows) {
|
||
|
common.skip('test does not apply to Windows');
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
common.expectWarning('Warning',
|
||
|
'process.on(SIGPROF) is reserved while debugging');
|
||
|
|
||
|
process.on('SIGPROF', () => {});
|