]> Cypherpunks repositories - gostls13.git/commit
cmd/go: avoid password prompts in TestScript/mod_get_private_vcs
authorBryan C. Mills <bcmills@google.com>
Wed, 10 Mar 2021 04:31:41 +0000 (23:31 -0500)
committerBryan C. Mills <bcmills@google.com>
Wed, 10 Mar 2021 14:45:43 +0000 (14:45 +0000)
commit30c28bbf0507cba9219633192e02b68719ab8280
tree325aec90c63b084c35b05b2fecf1cecb2dffd948
parentcf598504669524a9f7002f6b6c1cb4e567ea4e9e
cmd/go: avoid password prompts in TestScript/mod_get_private_vcs

In some cases, this test would prompt for interactive SSH passwords in
order to authenticate to github.com over SSH. Setting GIT_SSH_COMMAND
to /bin/false prevents that, while still provoking the desired Git
failure mode.

Updates #44904.

Change-Id: Idc9fe9f47d2ccb6c8a4ea988b73d9c8c774e4079
Reviewed-on: https://go-review.googlesource.com/c/go/+/300156
Trust: Bryan C. Mills <bcmills@google.com>
Trust: Kevin Burke <kev@inburke.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Kevin Burke <kev@inburke.com>
src/cmd/go/testdata/script/mod_get_private_vcs.txt