Commit 63e28ae4 authored by Rob Pike's avatar Rob Pike

gotest: fix windows build.

R=rsc
CC=golang-dev
https://golang.org/cl/4339055
parent 108ba69a
......@@ -267,7 +267,7 @@ func doRun(argv []string, returnStdout bool) string {
argv = []string{"cmd", "/c", "sh", "-c", cmd}
}
var err os.Error
argv[0], err = exec.LookPath(command)
argv[0], err = exec.LookPath(argv[0])
if err != nil {
Fatalf("can't find %s: %s", command, err)
}
......
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