syscall: append to environment in tests, don't clobber it
authorIan Lance Taylor <iant@golang.org>
Mon, 11 May 2020 23:23:44 +0000 (16:23 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 12 May 2020 00:27:46 +0000 (17:27 -0700)
commit4f157ed7749fd13c3562dd09696f7d675b86434f
tree8210b525b3773e6d9debf626e550d81beccdcef3
parentb58c5e0c73424586b881cc5926c7b6fd9c7151f0
syscall: append to environment in tests, don't clobber it

This is a partial backport of https://golang.org/cl/233318.
It's only a partial backport because part of the change was
already applied to libgo in CL 193497 as part of the update
to the Go 1.13beta1 release.

Fixes PR go/95061

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/233359
gcc/go/gofrontend/MERGE
libgo/go/syscall/syscall_linux_test.go