]> Cypherpunks repositories - gostls13.git/commit
os/exec: preserve the process environment when invoking TestHelperProcess
authorBryan C. Mills <bcmills@google.com>
Thu, 17 Oct 2019 13:45:54 +0000 (09:45 -0400)
committerBryan C. Mills <bcmills@google.com>
Thu, 17 Oct 2019 15:04:49 +0000 (15:04 +0000)
commit00ea8e1c673eb2b72c4520c688a414831e871ad2
tree70182c71d68b9412ae149f0b0d379cdc87274103
parent86235ec2bf15ff90c4c6602063c40c9bf0325428
os/exec: preserve the process environment when invoking TestHelperProcess

Also log errors from the lsof command on failure.
(That's how the missing environment was discovered.)

Updates #25628

Change-Id: I71594f60c15d0d254d5d4a86deec7431314c92ff
Reviewed-on: https://go-review.googlesource.com/c/go/+/201717
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/os/exec/exec_test.go