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:
Yann Hodique 2018-04-11 10:08:13 -07:00
parent 2b23996939
commit 85e610e304
1 changed files with 1 additions and 1 deletions

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)