/third_party/node/test/parallel/ |
D | test-child-process-reject-null-bytes.js | 19 throws(() => exec(`${process.execPath} ${__filename} AAA BBB\0XXX CCC`, mustNotCall()), { 29 throws(() => execSync(`${process.execPath} ${__filename} AAA BBB\0XXX CCC`), { 78 throws(() => execFile(process.execPath, [__filename, 'AAA', 'BBB\0XXX', 'CCC'], mustNotCall()), { 83 throws(() => execFileSync(process.execPath, [__filename, 'AAA', 'BBB\0XXX', 'CCC']), { 93 throws(() => spawn(process.execPath, [__filename, 'AAA', 'BBB\0XXX', 'CCC']), { 98 throws(() => spawnSync(process.execPath, [__filename, 'AAA', 'BBB\0XXX', 'CCC']), { 105 throws(() => exec(process.execPath, { cwd: 'BBB\0XXX' }, mustNotCall()), { 110 throws(() => execFile(process.execPath, { cwd: 'BBB\0XXX' }, mustNotCall()), { 115 throws(() => execFileSync(process.execPath, { cwd: 'BBB\0XXX' }), { 120 throws(() => execSync(process.execPath, { cwd: 'BBB\0XXX' }), { [all …]
|
D | test-source-map-enable.js | 25 const output = spawnSync(process.execPath, [ 40 const output = spawnSync(process.execPath, [ 57 const output = spawnSync(process.execPath, [ 68 const output = spawnSync(process.execPath, [ 80 const output = spawnSync(process.execPath, [ 101 const output = spawnSync(process.execPath, [ 122 const output = spawnSync(process.execPath, [ 138 const output = spawnSync(process.execPath, [ 154 const output = spawnSync(process.execPath, [ 169 const output = spawnSync(process.execPath, [ [all …]
|
D | test-policy-dependencies.js | 20 process.execPath, 34 process.execPath, 47 process.execPath, 60 process.execPath, 74 process.execPath, 87 process.execPath, 100 process.execPath, 114 process.execPath, 133 process.execPath,
|
D | test-child-process-execfile.js | 17 process.execPath, 22 `Command failed: ${process.execPath} ${fixture} 42`); 30 const errorString = `Error: Command failed: ${process.execPath}`; 37 assert.strictEqual(err.cmd, process.execPath); 41 const child = execFile(process.execPath, callback); 49 execFile(process.execPath, [fixture, 0], execOpts, common.mustSucceed()); 63 execFile(process.execPath, [echoFixture, 0], { signal }, check); 80 execFile(process.execPath, [echoFixture, 0], { signal }, check); 89 execFile(process.execPath, [echoFixture, 0], { signal: 'hello' }, callback); 101 execFile(process.execPath, [fixture, 0], { signal }, callback);
|
D | test-runner-reporters.js | 18 const child = spawnSync(process.execPath, ['--test', testFile]); 27 const child = spawnSync(process.execPath, ['--test', '--test-reporter', 'dot', testFile]); 33 …const child = spawnSync(process.execPath, ['--test', '--test-reporter', 'dot', '--test-reporter', … 39 …const child = spawnSync(process.execPath, ['--test', '--test-reporter-destination', 'tap', testFil… 45 const child = spawnSync(process.execPath, 52 const child = spawnSync(process.execPath, 60 const child = spawnSync(process.execPath, 68 …const child = spawnSync(process.execPath, ['--test', '--test-reporter', 'v8-serializer', testFile]… 77 const child = spawnSync(process.execPath, 95 const child = spawnSync(process.execPath, [all …]
|
D | test-child-process-exec-maxbuf.js | 16 `"${process.execPath}" -e "console.log('a'.repeat(1024 * 1024))"`; 28 `${process.execPath} -e "console.log('a'.repeat(1024 * 1024 - 1))"`; 37 const cmd = `"${process.execPath}" -e "console.log('hello world');"`; 61 `"${process.execPath}" -e "console.log('a'.repeat(1024 * 1024))"`; 79 `"${process.execPath}" -e "console.log('a'.repeat(1024 * 1024 - 1))"`; 90 const cmd = `"${process.execPath}" -e "console.log('${unicode}');"`; 102 const cmd = `"${process.execPath}" -e "console.error('${unicode}');"`; 114 const cmd = `"${process.execPath}" -e "console.log('${unicode}');"`; 128 const cmd = `"${process.execPath}" -e "console.error('${unicode}');"`; 142 const cmd = `"${process.execPath}" -e "console.error('${unicode}');"`;
|
D | test-child-process-execfile-maxbuf.js | 17 process.execPath, 26 process.execPath, 39 process.execPath, 57 process.execPath, 65 process.execPath, 74 process.execPath, 85 process.execPath,
|
D | test-policy-manifest.js | 16 const result = spawnSync(process.execPath, [ 30 const result = spawnSync(process.execPath, [ 46 const result = spawnSync(process.execPath, [ 61 const result = spawnSync(process.execPath, [ 73 const result = spawnSync(process.execPath, [ 88 const result = spawnSync(process.execPath, [ 101 const result = spawnSync(process.execPath, [ 115 const result = spawnSync(process.execPath, [ 129 const result = spawnSync(process.execPath, [
|
D | test-vfs.js | 24 const vfsDirectory = join(process.execPath, 'directory'); 25 const vfsDoesNotExist = join(process.execPath, 'does-not-exist'); 26 const vfsFile = join(process.execPath, 'file.js'); 44 if (!filename.startsWith(process.execPath)) { 48 if (filename === process.execPath) { 65 if (!pathArgument.startsWith(process.execPath)) { 86 strictEqual(Module._stat(process.execPath), 1);
|
D | test-heap-prof-invalid-args.js | 23 const output = spawnSync(process.execPath, [ 38 `${process.execPath}: --heap-prof-name must be used with --heap-prof`); 44 const output = spawnSync(process.execPath, [ 59 `${process.execPath}: --heap-prof-dir must be used with --heap-prof`); 65 const output = spawnSync(process.execPath, [ 80 `${process.execPath}: ` +
|
D | test-child-process-spawn-controller.js | 14 const cp = spawn(process.execPath, [aliveScript], { 34 const cp = spawn(process.execPath, [aliveScript], { 55 const cp = spawn(process.execPath, [aliveScript], { 76 const cp = spawn(process.execPath, [aliveScript], { 93 const cp = spawn(process.execPath, [aliveScript], { 110 const cp = spawn(process.execPath, [aliveScript], { 129 const cp = spawn(process.execPath, [aliveScript], { 150 const cp = spawn(process.execPath, [aliveScript], { 172 const cp = spawn(process.execPath, [aliveScript], {
|
D | test-process-execpath.js | 11 assert.strictEqual(process.execPath, fs.realpathSync(process.execPath)); 15 console.log(process.execPath); 21 fs.symlinkSync(process.execPath, symlinkedNode); 25 assert.strictEqual(proc.stdout.toString(), `${process.execPath}\n`);
|
D | test-child-process-spawn-timeout-kill-signal.js | 12 const cp = spawn(process.execPath, [fixtures.path(aliveForeverFile)], { 20 const cp = spawn(process.execPath, [fixtures.path(aliveForeverFile)], { 29 throws(() => spawn(process.execPath, [fixtures.path(aliveForeverFile)], { 33 throws(() => spawn(process.execPath, [fixtures.path(aliveForeverFile)], { 42 const cp = spawn(process.execPath, [fixtures.path(aliveForeverFile)], {
|
D | test-child-process-spawnsync-input.js | 58 ret = spawnSync(process.execPath, args, { stdio: 'inherit' }); 62 ret = spawnSync(process.execPath, args, { 72 verifyBufOutput(spawnSync(process.execPath, [__filename, 'spawnchild', 1])); 73 verifyBufOutput(spawnSync(process.execPath, [__filename, 'spawnchild', 2])); 119 verifyBufOutput(spawnSync(process.execPath, args)); 121 ret = spawnSync(process.execPath, args, { encoding: 'utf8' });
|
D | test-openssl-ca-options.js | 12 process.execPath, 17 assert.strictEqual(result.stderr, `${process.execPath 22 const useBundledCA = childProcess.spawnSync(process.execPath, [ 27 const useOpenSSLCA = childProcess.spawnSync(process.execPath, [
|
D | test-child-process-spawn-argv0.js | 13 const noArgv0 = cp.spawnSync(process.execPath, [__filename, 'child']); 14 assert.strictEqual(noArgv0.stdout.toString().trim(), process.execPath); 16 const withArgv0 = cp.spawnSync(process.execPath, [__filename, 'child'], 21 cp.spawnSync(process.execPath, [__filename, 'child'], { argv0: [] });
|
D | test-v8-coverage.js | 22 const output = spawnSync(process.execPath, [ 41 const output = spawnSync(process.execPath, [ 59 const output = spawnSync(process.execPath, [ 78 const output = spawnSync(process.execPath, [ 99 const output = spawnSync(process.execPath, [ 119 const output = spawnSync(process.execPath, [ 139 const output = spawnSync(process.execPath, [ 155 const output = spawnSync(process.execPath, [ 174 const output = spawnSync(process.execPath, [
|
/third_party/node/deps/npm/node_modules/node-gyp/lib/ |
D | find-python.js | 195 this.run(exec, args, shell, function (err, execPath) { argument 204 this.addLog(`- executable path is "${execPath}"`) 205 this.checkExecPath(execPath, errorCallback) 223 function (err, execPath) { argument 230 this.addLog(`- executable path is "${execPath}"`) 231 this.checkExecPath(execPath, errorCallback) 237 checkExecPath: function checkExecPath (execPath, errorCallback) { 238 this.log.verbose(`- executing "${execPath}" to get version`) 239 this.run(execPath, this.argsVersion, false, function (err, version) { 247 this.addLog(`- "${execPath}" could not be run`) [all …]
|
/third_party/node/deps/npm/node_modules/node-gyp/test/ |
D | test-find-node-directory.js | 17 var processObj = { execPath: '/x/y/bin/node', platform: platforms[next] } property 31 var processObj = { execPath: '/x/y/bin/node', platform: platforms[next] } property 48 var processObj = { execPath: '/x/y/bin/node', platform: platforms[next] } property 61 processObj = { execPath: '/x/y/Release/node', platform: platforms[next] } property 64 execPath: '/x/y/out/Release/node', property 81 processObj = { execPath: '/a/b/Debug/node', platform: platforms[next] } property 83 processObj = { execPath: '/a/b/out/Debug/node', platform: platforms[next] } property 96 var processObj = { execPath: '/x/y/z/y', platform: next } property 109 var processObj = { execPath: '/x/y/bin/node', platform: platforms[next] } property
|
/third_party/node/test/sequential/ |
D | test-child-process-execsync.js | 57 const cmd = `"${process.execPath}" -e "setTimeout(function(){}, ${SLEEP});"`; 81 const cmd = `"${process.execPath}" -e "console.log('${msg}');"`; 99 const ret = execFileSync(process.execPath, args); 104 const ret = execFileSync(process.execPath, args, { encoding: 'utf8' }); 129 const spawnSyncResult = spawnSync(process.execPath, args); 141 execFileSync(process.execPath, args); 143 const msg = `Command failed: ${process.execPath} ${args.join(' ')}`; 159 execFileSync(process.execPath, [], execOpts);
|
D | test-cpu-prof-invalid-options.js | 21 const output = spawnSync(process.execPath, [ 36 `${process.execPath}: --cpu-prof-name must be used with --cpu-prof`); 42 const output = spawnSync(process.execPath, [ 57 `${process.execPath}: --cpu-prof-dir must be used with --cpu-prof`); 63 const output = spawnSync(process.execPath, [ 78 `${process.execPath}: --cpu-prof-interval must be used with --cpu-prof`);
|
/third_party/node/test/es-module/ |
D | test-esm-tla-unfinished.mjs | 4 import { execPath } from 'node:process'; 16 const { code, stderr, stdout } = await spawnPromisified(execPath, [ 28 const { code, stderr, stdout } = await spawnPromisified(execPath, [ 40 const { code, stderr, stdout } = await spawnPromisified(execPath, [ 52 const { code, stderr, stdout } = await spawnPromisified(execPath, [ 63 const { code, stderr, stdout } = await spawnPromisified(execPath, [ 74 const { code, stderr, stdout } = await spawnPromisified(execPath, [ 85 const { code, stderr, stdout } = await spawnPromisified(execPath, [ 96 const { code, stderr, stdout } = await spawnPromisified(execPath, [ 107 const { code, stderr, stdout } = await spawnPromisified(execPath, [ [all …]
|
D | test-esm-import-flag.mjs | 4 import { execPath } from 'node:process'; 16 execPath, 31 execPath, 47 execPath, 62 execPath, 77 execPath, 92 execPath, 107 execPath, 124 execPath, 140 execPath, [all …]
|
D | test-esm-loader-spawn-promisified.mjs | 4 import { execPath } from 'node:process'; 9 const { code, signal, stdout, stderr } = await spawnPromisified(execPath, [ 25 const { code, signal, stdout, stderr } = await spawnPromisified(execPath, [ 41 const { code, signal, stdout, stderr } = await spawnPromisified(execPath, [ 57 const { code, signal, stdout, stderr } = await spawnPromisified(execPath, [ 72 const { code, signal, stdout, stderr } = await spawnPromisified(execPath, [ 88 const { code, signal, stdout, stderr } = await spawnPromisified(execPath, [ 104 const { code, signal, stdout, stderr } = await spawnPromisified(execPath, [ 120 const { code, signal, stdout, stderr } = await spawnPromisified(execPath, [ 136 const { code, signal, stdout, stderr } = await spawnPromisified(execPath, [ [all …]
|
D | test-esm-loader-chaining.mjs | 4 import { execPath } from 'node:process'; 22 execPath, 37 execPath, 59 execPath, 82 execPath, 106 execPath, 128 execPath, 151 execPath, 175 execPath, 195 execPath, [all …]
|