Commit e21a749a authored by Yann Hodique's avatar Yann Hodique Committed by Brad Fitzpatrick

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: 85e610e3045950b8688a7a506b37a2a92ac7445c
GitHub-Pull-Request: golang/go#24807
Reviewed-on: https://go-review.googlesource.com/106355Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 16f32a07
...@@ -1487,7 +1487,7 @@ func computeTestInputsID(a *work.Action, testlog []byte) (cache.ActionID, error) ...@@ -1487,7 +1487,7 @@ func computeTestInputsID(a *work.Action, testlog []byte) (cache.ActionID, error)
fmt.Fprintf(h, "env %s %x\n", name, hashGetenv(name)) fmt.Fprintf(h, "env %s %x\n", name, hashGetenv(name))
case "chdir": case "chdir":
pwd = name // always absolute 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": case "stat":
if !filepath.IsAbs(name) { if !filepath.IsAbs(name) {
name = filepath.Join(pwd, name) name = filepath.Join(pwd, name)
......
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