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:
parent
16f32a0726
commit
e21a749af1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user