diff options
author | Alex Brainman <alex.brainman@gmail.com> | 2014-04-04 16:26:15 +1100 |
---|---|---|
committer | Alex Brainman <alex.brainman@gmail.com> | 2014-04-04 16:26:15 +1100 |
commit | df8ec65b3abcdc8566176d6dae756273d8641706 (patch) | |
tree | 4f2fbc527862b0e005f3617c64edb9b12d94dbdd /src/cmd/pack | |
parent | 72dbc4ccc85be730d12cada215ec7de9fdb872c1 (diff) | |
download | go-df8ec65b3abcdc8566176d6dae756273d8641706.tar.gz go-df8ec65b3abcdc8566176d6dae756273d8641706.zip |
os/exec: always try appropriate command extensions during Cmd.Start on windows
Update #7362
Fixes #7377
Fixes #7570
LGTM=rsc
R=golang-codereviews, rsc
CC=golang-codereviews
https://golang.org/cl/83020043
Diffstat (limited to 'src/cmd/pack')
-rw-r--r-- | src/cmd/pack/pack_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/pack/pack_test.go b/src/cmd/pack/pack_test.go index 33abe45a20..9389349187 100644 --- a/src/cmd/pack/pack_test.go +++ b/src/cmd/pack/pack_test.go @@ -218,7 +218,7 @@ func TestHello(t *testing.T) { t.Fatal("cannot find GOCHAR in 'go env' output:\n", out) } char := fields[1] - run("go", "build", "-o", "pack", "cmd/pack") // writes pack binary to dir + run("go", "build", "cmd/pack") // writes pack binary to dir run("go", "tool", char+"g", "hello.go") run("./pack", "grc", "hello.a", "hello."+char) run("go", "tool", char+"l", "-o", "a.out", "hello.a") |