Change-Id: Ib24841f4823c357ddeefa28435c2b80867d752d2
GitHub-Last-Rev:
b0c6c58b24af43b0a0e759b152eb245b3bf1ce4e
GitHub-Pull-Request: golang/go#66182
Reviewed-on: https://go-review.googlesource.com/c/go/+/570015
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
}
exe := filepath.Join(tmpdir, "x.exe")
- // Use a deterministc tmp directory so the temporary file paths are
- // deterministc.
+ // Use a deterministic tmp directory so the temporary file paths are
+ // deterministic.
linktmp := filepath.Join(tmpdir, "linktmp")
if err := os.Mkdir(linktmp, 0777); err != nil {
t.Fatal(err)
t.Fatal(err)
}
- // extract the "host link" invocaton
+ // extract the "host link" invocation
j := bytes.Index(out, []byte("\nhost link:"))
if j == -1 {
t.Fatalf("host link step not found, output:\n%s", out)