]> Cypherpunks repositories - gostls13.git/commit
cmd/go: convert TestCaseCollisions to the script framework
authorMichael Matloob <matloob@golang.org>
Fri, 17 Apr 2020 17:32:20 +0000 (13:32 -0400)
committerMichael Matloob <matloob@golang.org>
Fri, 17 Apr 2020 20:48:37 +0000 (20:48 +0000)
commit9b56d3e536839f5b1b55d0451e25adc58694dda7
tree96531aebf46ba747f26eaa3745557c7e433fac8c
parent646b4ac06583396bb296f9b3f855fdab4ebe0060
cmd/go: convert TestCaseCollisions to the script framework

I'm planning to modify this test in a follow-up CL, so we might
as well convert it to a script test. I don't think there's an easy
way to detect whether we have a case-insensitive file system, without
adding a new condition to the script framework, so the test is just
guessing that darwin and windows could have case-insensitive file systems.

Change-Id: I48bb36f86f19898618681515ac448c3bb4735857
Reviewed-on: https://go-review.googlesource.com/c/go/+/228783
Run-TryBot: Michael Matloob <matloob@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/cmd/go/go_test.go
src/cmd/go/testdata/script/list_case_collision.txt [new file with mode: 0644]