GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: remove hardwired references to 'iojs' · nodejs/node@f78c722

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test
    • debugger
      • test-debugger-remote.js
    • parallel
      • test-process-argv-0.js
    • sequential
      • test-setproctitle.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/debugger/test-debugger-remote.js‎

Copy file name to clipboardExpand all lines: test/debugger/test-debugger-remote.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var expected = [];
99
var scriptToDebug = common.fixturesDir + '/empty.js';
1010

1111
function fail() {
12-
assert(0); // `iojs --debug-brk script.js` should not quit
12+
assert(0); // `--debug-brk script.js` should not quit
1313
}
1414

1515
// running with debug agent
@@ -37,7 +37,7 @@ interfacer.on('line', function(line) {
3737
assert.ok(expected == line, 'Got unexpected line: ' + line);
3838
});
3939

40-
// give iojs time to start up the debugger
40+
// allow time to start up the debugger
4141
setTimeout(function() {
4242
child.removeListener('exit', fail);
4343
child.kill();
Collapse file

‎test/parallel/test-process-argv-0.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-process-argv-0.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ console.error('argv=%j', process.argv);
99
console.error('exec=%j', process.execPath);
1010

1111
if (process.argv[2] !== 'child') {
12-
var child = spawn('./iojs', [__filename, 'child'], {
12+
var child = spawn(process.execPath, [__filename, 'child'], {
1313
cwd: path.dirname(process.execPath)
1414
});
1515

Collapse file

‎test/sequential/test-setproctitle.js‎

Copy file name to clipboardExpand all lines: test/sequential/test-setproctitle.js
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ if ('linux freebsd darwin'.indexOf(process.platform) === -1) {
1010
var common = require('../common');
1111
var assert = require('assert');
1212
var exec = require('child_process').exec;
13+
var path = require('path');
1314

1415
// The title shouldn't be too long; libuv's uv_set_process_title() out of
1516
// security considerations no longer overwrites envp, only argv, so the
@@ -25,7 +26,8 @@ exec('ps -p ' + process.pid + ' -o args=', function(error, stdout, stderr) {
2526
assert.equal(stderr, '');
2627

2728
// freebsd always add ' (procname)' to the process title
28-
if (process.platform === 'freebsd') title += ' (iojs)';
29+
if (process.platform === 'freebsd')
30+
title += ` (${path.basename(process.execPath)})`;
2931

3032
// omitting trailing whitespace and \n
3133
assert.equal(stdout.replace(/\s+$/, ''), title);

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.