]> Cypherpunks repositories - gostls13.git/commit
cmd/go: clear HGRCPATH in script test
authorRuss Cox <rsc@golang.org>
Wed, 24 May 2023 13:19:15 +0000 (09:19 -0400)
committerGopher Robot <gobot@golang.org>
Thu, 25 May 2023 00:56:18 +0000 (00:56 +0000)
commitd5a05a0510eba98565b04e383e825bb53a5bc637
tree8e08b6983ac31fac119a11eb4f7c340238e909cf
parent558301a5cb8c87dab8a82db096b4ed5c12610a7d
cmd/go: clear HGRCPATH in script test

Invoking 'hg' in a nonexistant HOME can break extensions the user
may have installed; clear HGRCPATH in the script test to keep tests
working in that environment.

Change-Id: I4d21d024c6229ead38e5f24186883863511fd483
Reviewed-on: https://go-review.googlesource.com/c/go/+/497878
Reviewed-by: Bryan Mills <bcmills@google.com>
Auto-Submit: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
src/cmd/go/script_test.go