Skip to content
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: fix test on windows #3169

Closed
alexbrainman opened this issue Mar 2, 2012 · 4 comments
Closed

cmd/go: fix test on windows #3169

alexbrainman opened this issue Mar 2, 2012 · 4 comments
Milestone

Comments

@alexbrainman
Copy link
Member

C:\a\code\src\foo>set | find "GO"
GOARCH=386
GOBIN=c:\mingw\go\bin
GOPATH=c:\a\code
GOROOT=c:\mingw\go

C:\a\code\src\foo>dir
 Volume in drive C has no label.

 Directory of C:\a\code\src\foo

02/03/2012  12:11 PM    <DIR>          .
02/03/2012  12:11 PM    <DIR>          ..
31/01/2012  10:30 AM               516 foo.go
31/01/2012  09:59 AM               100 foo_test.go
               2 File(s)            616 bytes
               2 Dir(s)  129,742,303,232 bytes free

C:\a\code\src\foo>type foo_test.go
package main

import "fmt"
import "testing"

func TestMain(t *testing.T) {
        fmt.Printf("Hello\n")
}

C:\a\code\src\foo>go test
# C:\a\code\src\foo
mkdir C:\DOCUME~1\brainman\LOCALS~1\Temp\go-build374523082\C:: The filename, directory
name, or volume label syntax is incorrect.

C:\a\code\src\foo>go version
go version weekly.2012-02-22 +a1838a690f0a

C:\a\code\src\foo>
@rsc
Copy link
Contributor

rsc commented Mar 2, 2012

Comment 1:

Will fix, sorry about this.  I know what I did wrong.
Puzzling through a related bug right now.

Owner changed to @rsc.

@rsc
Copy link
Contributor

rsc commented Mar 2, 2012

Comment 2:

Labels changed: added priority-go1, removed priority-asap.

@rsc
Copy link
Contributor

rsc commented Mar 2, 2012

Comment 3:

Issue #3174 has been merged into this issue.

@rsc
Copy link
Contributor

rsc commented Mar 3, 2012

Comment 4:

This issue was closed by revision 604f375.

Status changed to Fixed.

@rsc rsc added this to the Go1 milestone Apr 10, 2015
@rsc rsc removed the priority-go1 label Apr 10, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
@rsc rsc removed their assignment Jun 22, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants