mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-03 19:43:30 +00:00
18 lines
743 B
Diff
18 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);
|