diff options
Diffstat (limited to 'src/os/exec_unix_test.go')
| -rw-r--r-- | src/os/exec_unix_test.go | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/os/exec_unix_test.go b/src/os/exec_unix_test.go index 332ffe9041..82c072a746 100644 --- a/src/os/exec_unix_test.go +++ b/src/os/exec_unix_test.go @@ -14,11 +14,9 @@ import ( func TestErrProcessDone(t *testing.T) { testenv.MustHaveGoBuild(t) - path, err := testenv.GoTool() - if err != nil { - t.Errorf("finding go tool: %v", err) - } - p, err := StartProcess(path, []string{"go"}, &ProcAttr{}) + t.Parallel() + + p, err := StartProcess(testenv.GoToolPath(t), []string{"go"}, &ProcAttr{}) if err != nil { t.Errorf("starting test process: %v", err) } |
