mirror of https://github.com/golang/go.git
os/exec: in TestImplicitPWD, explicitly request the logical path
Fixes #52537 Change-Id: I70959881a31f425e940e7adf86b36be2596aafb7 Reviewed-on: https://go-review.googlesource.com/c/go/+/402158 Run-TryBot: Bryan Mills <bcmills@google.com> Auto-Submit: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com>
This commit is contained in:
parent
415e3fd8a6
commit
22a00f2b5c
|
|
@ -129,7 +129,7 @@ func TestImplicitPWD(t *testing.T) {
|
|||
// (We could perhaps refactor helperCommand to use a flag or switch on the
|
||||
// value of argv[0] instead, but that doesn't seem worth the trouble at
|
||||
// the moment.)
|
||||
cmd := exec.Command("pwd")
|
||||
cmd := exec.Command("pwd", "-L")
|
||||
cmd.Dir = tc.dir
|
||||
|
||||
var pwds []string
|
||||
|
|
|
|||
Loading…
Reference in New Issue