-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: TestAccidentalGitCheckout fails with unresolveble dependencies #22983
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Done! |
The test is failing because the code (on vcs-test.golang.org) imports "vcs-test.golang.org/go/test2-svn-git/test2pkg/pkg", but the package is named ""vcs-test.golang.org/go/test2-svn-git/test2PKG/pkg" ("test2pkg" changes to "test2PKG"). This causes the The test first appeared in the 1.8 release, in https://golang.org/cl/68110. It currently fails in every release. I went back to the commit where the test was added, and the test fails there too. I don't know whether this test has ever passed. |
It would be nice to have this test pass properly but it will require changing the vcs-test.golang.org repo. CC @rsc |
Change https://golang.org/cl/129615 mentions this issue: |
It seems it might not have ever worked. Updates #22983 Change-Id: Icc022539aa2555486a65900abf97dfa30f92a1ea Reviewed-on: https://go-review.googlesource.com/129615 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Andrew Bonventre <andybons@golang.org>
Change https://golang.org/cl/129797 mentions this issue: |
What version of Go are you using (
go version
)?1.8.5, 1.9.2
Does this issue reproduce with the latest release?
Yes, affects master/1.10 too
What operating system and processor architecture are you using (
go env
)?linux, amd64
What did you do?
Make sure that you have installed subversion, mercurial and git, although I guess svn and git should be enough.
What did you expect to see?
Test passing.
What did you see instead?
Test failing.
It seem that the testing repository
vcs-test.golang.org/go/test2-svn-git/test2main
contains incorrect import statement on line 4 in main.go. It isvcs-test.golang.org/go/test2-svn-git/test2pkg/pkg
and I guess it should bevcs-test.golang.org/go/test2-svn-git/test2PKG/pkg
.I would open CL, but I'm not sure how to modify/contribute to the up mentioned repository/ies at vcs-test.golang.org.
The text was updated successfully, but these errors were encountered: