-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
cmd/go: TestScripts/svn fails on Windows #56555
Comments
I've identified 3 separate issues:
The first one is an easy fix, the second could be somehow fixable, and the third should be as easy as adding: -- hooks/pre-revprop-change.bat --
@exit The problem is that for a reason I don't understand, SVN doesn't like to execute bat files from within the Script framework, while it works when done from the command line. I've spent the whole day on these without much luck. Unless someone wants to take it, I propose to skip the test on Windows for now. |
At a high level: I think I had assumed that Probably the simplest approach would be to change ―
Agreed (specifically on Windows); compare #32456.
It might be possible to fix that using
Something to do with the |
On Linux, if the tzdata package is not installed, the test also fails. It would be good to report some prompt information if setting the time zone fails. |
Ignore my comment above, this has been fixed. |
Change https://go.dev/cl/447935 mentions this issue: |
Microsoft internal builders come with SVN pre-installed, probably for historical reasons.
Tried with these: SlikSvn v1.14.2 and Win32Svn v1.8.15.
Good shoot, the environment variable missing was |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Tip only
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
go test -v -run TestScripts/svn/hello -count 1 ./cmd/go/internal/vcweb/vcstest
What did you expect to see?
ok cmd/go/internal/vcweb/vcstest 0.155s
What did you see instead?
Additional info
test1-svn-git.txt
andtest2-svn-git.txt
.vcs-test.golang.org
to a test-local server #27494.svn
installed.@bcmills
The text was updated successfully, but these errors were encountered: