1
0
mirror of https://github.com/golang/go synced 2024-11-23 14:10:05 -07:00

cmd/go: fix typo in test inputs descriptor

Presumably each line in the descriptor should match the corresponding operation.

Change-Id: I7726befcd62147324764d15c26e737357122be51
GitHub-Last-Rev: 85e610e304
GitHub-Pull-Request: golang/go#24807
Reviewed-on: https://go-review.googlesource.com/106355
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Yann Hodique 2018-04-11 19:57:17 +00:00 committed by Brad Fitzpatrick
parent 16f32a0726
commit e21a749af1

View File

@ -1487,7 +1487,7 @@ func computeTestInputsID(a *work.Action, testlog []byte) (cache.ActionID, error)
fmt.Fprintf(h, "env %s %x\n", name, hashGetenv(name))
case "chdir":
pwd = name // always absolute
fmt.Fprintf(h, "cbdir %s %x\n", name, hashStat(name))
fmt.Fprintf(h, "chdir %s %x\n", name, hashStat(name))
case "stat":
if !filepath.IsAbs(name) {
name = filepath.Join(pwd, name)