Commit 29ffa4bd authored by Mikio Hara's avatar Mikio Hara

cmd/go: don't put mycmd in wrong directory

Change-Id: Ia7cc1d52211b32a2eb2b3888d621b28d6932aca9
Reviewed-on: https://go-review.googlesource.com/12290Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
parent 9f70cd82
......@@ -751,6 +751,7 @@ func TestGoInstallErrorOnCrossCompileToBin(t *testing.T) {
tg.tempFile("src/mycmd/x.go", `package main
func main() {}`)
tg.setenv("GOPATH", tg.path("."))
tg.cd(tg.path("src/mycmd"))
tg.run("build", "mycmd")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment