mirror of https://github.com/golang/go.git
cmd/go: fix a typo in test inputs descriptor
Presumably each line in the descriptor should match the corresponding operation.
This commit is contained in:
parent
2b23996939
commit
85e610e304
|
|
@ -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