(shell)
| 16 | fs.mkdirSync(tmpPath); |
| 17 | |
| 18 | const test = (shell) => { |
| 19 | cp.exec('echo foo bar', { shell: shell }, |
| 20 | common.mustSucceed((stdout, stderror) => { |
| 21 | assert.ok(!stderror); |
| 22 | assert.ok(stdout.includes('foo') && stdout.includes('bar')); |
| 23 | })); |
| 24 | }; |
| 25 | const testCopy = (shellName, shellPath) => { |
| 26 | // Symlink the executable to a path with spaces, to ensure there are no issues |
| 27 | // related to quoting of argv0 |
no test coverage detected
searching dependent graphs…