diff options
Diffstat (limited to 'src/os/exec/exec_windows_test.go')
| -rw-r--r-- | src/os/exec/exec_windows_test.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/os/exec/exec_windows_test.go b/src/os/exec/exec_windows_test.go index 35ae0b0b8a..9dec72b3e1 100644 --- a/src/os/exec/exec_windows_test.go +++ b/src/os/exec/exec_windows_test.go @@ -33,6 +33,8 @@ func cmdPipeHandle(args ...string) { } func TestPipePassing(t *testing.T) { + t.Parallel() + r, w, err := os.Pipe() if err != nil { t.Error(err) @@ -60,6 +62,8 @@ func TestPipePassing(t *testing.T) { } func TestNoInheritHandles(t *testing.T) { + t.Parallel() + cmd := exec.Command("cmd", "/c exit 88") cmd.SysProcAttr = &syscall.SysProcAttr{NoInheritHandles: true} err := cmd.Run() @@ -76,6 +80,7 @@ func TestNoInheritHandles(t *testing.T) { // with a copy of the parent's SYSTEMROOT. // (See issue 25210.) func TestChildCriticalEnv(t *testing.T) { + t.Parallel() cmd := helperCommand(t, "echoenv", "SYSTEMROOT") // Explicitly remove SYSTEMROOT from the command's environment. |
