diff options
author | Albert Strasheim <fullung@gmail.com> | 2013-03-30 09:22:11 -0700 |
---|---|---|
committer | Albert Strasheim <fullung@gmail.com> | 2013-03-30 09:22:11 -0700 |
commit | 0ebbcc0ae544ebcb2a7963c83cfd2bbe288bab55 (patch) | |
tree | d2e36eaa21b392a88881936fc27dcd78b002b92f /src/pkg/os/exec/exec_test.go | |
parent | f434d2d7984d6059bc9e931286701ad741b74096 (diff) | |
download | go-0ebbcc0ae544ebcb2a7963c83cfd2bbe288bab55.tar.gz |
os/exec, syscall: fix tests to pass when GOGCTRACE=1 is set
R=golang-dev, bradfitz, minux.ma
CC=golang-dev
https://codereview.appspot.com/8193043
Committer: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/pkg/os/exec/exec_test.go')
-rw-r--r-- | src/pkg/os/exec/exec_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/os/exec/exec_test.go b/src/pkg/os/exec/exec_test.go index dfcf4be23..2467d29a1 100644 --- a/src/pkg/os/exec/exec_test.go +++ b/src/pkg/os/exec/exec_test.go @@ -25,7 +25,7 @@ func helperCommand(s ...string) *Cmd { cs := []string{"-test.run=TestHelperProcess", "--"} cs = append(cs, s...) cmd := Command(os.Args[0], cs...) - cmd.Env = append([]string{"GO_WANT_HELPER_PROCESS=1"}, os.Environ()...) + cmd.Env = []string{"GO_WANT_HELPER_PROCESS=1"} return cmd } |