]> Cypherpunks repositories - gostls13.git/commit
cmd/go: fix and reenable TestAccidentalGitCheckout
authorRuss Cox <rsc@golang.org>
Sat, 18 Aug 2018 01:25:52 +0000 (21:25 -0400)
committerRuss Cox <rsc@golang.org>
Sat, 18 Aug 2018 18:22:46 +0000 (18:22 +0000)
commit239b8f2edc70046484d5bcc5bf0cac06f8e1ace4
tree211f84c7c7fd1538a0ce5cc653a09c42947a0d46
parent714c141c4f2db626ea470a27cfd35f86b0c77c07
cmd/go: fix and reenable TestAccidentalGitCheckout

This is an important security problem so we shouldn't disable the test.
The second half was failing on case-sensitive file systems but the
first half is still good.

Fixes #22983.

Change-Id: I437bb4c9f78eb3177aa8b619e2357b2539566ca9
Reviewed-on: https://go-review.googlesource.com/129797
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/go/go_test.go