Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
17 lines
743 B
Diff
17 lines
743 B
Diff
`/usr/bin/env` is not available.
|
|
|
|
--- old/test/parallel/test-child-process-default-options.js
|
|
+++ new/test/parallel/test-child-process-default-options.js
|
|
@@ -35 +35 @@ if (isWindows) {
|
|
- child = spawn('/usr/bin/env', [], {});
|
|
+ child = spawn('env', [], {});
|
|
--- old/test/parallel/test-child-process-env.js
|
|
+++ new/test/parallel/test-child-process-env.js
|
|
@@ -51 +51 @@ if (isWindows) {
|
|
- child = spawn('/usr/bin/env', [], { env });
|
|
+ child = spawn('env', [], { env });
|
|
--- old/test/parallel/test-child-process-exec-env.js
|
|
+++ new/test/parallel/test-child-process-exec-env.js
|
|
@@ -47 +47 @@ if (!isWindows) {
|
|
- child = exec('/usr/bin/env', { env: { 'HELLO': 'WORLD' } }, after);
|
|
+ child = exec('env', { env: { 'HELLO': 'WORLD' } }, after);
|