]> Cypherpunks repositories - gostls13.git/commit
cmd/go: fix TestNoCache on Plan 9
authorDavid du Colombier <0intro@gmail.com>
Wed, 31 Jan 2018 21:56:39 +0000 (22:56 +0100)
committerDavid du Colombier <0intro@gmail.com>
Wed, 31 Jan 2018 22:12:10 +0000 (22:12 +0000)
commit6f37fee354e941c6f143b34014c269943962b116
tree960dc50974225b5792b4edd9db781d986545211d
parente5186895fc7954c0992c345eb2a91f8c964b2099
cmd/go: fix TestNoCache on Plan 9

CL 91097 added TestNoCache. However, this
test is failing on Plan 9 because the HOME
environment variable doesn't contain the
home directory where the Go cache is located.

This change fixes the TestNoCache test
by using the home environment variable
instead of HOME on Plan 9.

Fixes #23644.

Change-Id: Icfb7a7a4c2852f159c93032b4081411628a2787f
Reviewed-on: https://go-review.googlesource.com/91216
Run-TryBot: David du Colombier <0intro@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/go/go_test.go