-
Notifications
You must be signed in to change notification settings - Fork 18k
os: avoid TestFileChdir fail when GOROOT is a symbolic link #64001
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This PR (HEAD: d849518) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/540521. Important tips:
|
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
Message from qiulaidongfeng: Patch Set 2: Run-TryBot+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
Message from Gopher Robot: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
Message from Gopher Robot: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
d849518
to
31cb871
Compare
This PR (HEAD: 31cb871) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/540521. Important tips:
|
Message from Gopher Robot: Patch Set 2: TryBot-Result-1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
Message from qiulaidongfeng: Patch Set 3: Run-TryBot+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
Message from Gopher Robot: Patch Set 3: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
Message from Gopher Robot: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
Message from Gopher Robot: Patch Set 3: TryBot-Result-1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
31cb871
to
bd8c67f
Compare
This PR (HEAD: bd8c67f) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/540521. Important tips:
|
Message from qiulaidongfeng: Patch Set 4: Run-TryBot+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
Message from Gopher Robot: Patch Set 4: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
bd8c67f
to
eba125a
Compare
This PR (HEAD: eba125a) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/540521. Important tips:
|
Message from Gopher Robot: Patch Set 4: TryBot-Result+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
Message from qiulaidongfeng: Patch Set 5: Run-TryBot+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
Message from Gopher Robot: Patch Set 5: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
Message from Gopher Robot: Patch Set 5: TryBot-Result+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
Message from qiulaidongfeng: Patch Set 5: -Run-TryBot Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
eba125a
to
399c312
Compare
This PR (HEAD: 399c312) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/540521. Important tips:
|
Message from qiulaidongfeng: Patch Set 6: Run-TryBot+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
Message from Gopher Robot: Patch Set 6: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
Message from Gopher Robot: Patch Set 6: TryBot-Result+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
Message from qiulaidongfeng: Patch Set 6: -Run-TryBot Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
Message from qiulaidongfeng: Patch Set 6: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
Message from Bryan Mills: Patch Set 7: Code-Review+1 (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
399c312
to
9e241a6
Compare
This PR (HEAD: 9e241a6) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/540521. Important tips:
|
If GOROOT is a symbolic link, the paths obtained from the first and second Getwd of TestFileChdir are different, and this CL fixes the test failure in this situation.
9e241a6
to
5cc418e
Compare
This PR (HEAD: 5cc418e) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/540521. Important tips:
|
Message from qiulaidongfeng: Patch Set 9: Run-TryBot+1 (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
Message from Gopher Robot: Patch Set 9: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
Message from Bryan Mills: Patch Set 9: Code-Review+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
Message from Gopher Robot: Patch Set 9: TryBot-Result+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
Message from qiulaidongfeng: Patch Set 9: -Run-TryBot (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
Message from qiulaidongfeng: Patch Set 9: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
Message from Bryan Mills: Patch Set 9: Auto-Submit+1 Code-Review+2 Commit-Queue+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
Message from Go LUCI: Patch Set 9: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2023-11-21T15:34:51Z","revision":"0c5c2a9e12b108e5ddb722da0215cce4596cd1ed"} Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
Message from Bryan Mills: Patch Set 9: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
Message from Go LUCI: Patch Set 9: This CL has passed the run Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
Message from Go LUCI: Patch Set 9: LUCI-TryBot-Result+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/540521. |
If GOROOT is a symbolic link, the paths obtained from the first and second Getwd of TestFileChdir are different, and this CL fixes the test failure in this situation. Fixes #64281 Change-Id: I53026b6c54a54be08833396e2c7081ca3ab8c282 GitHub-Last-Rev: 5cc418e GitHub-Pull-Request: #64001 Reviewed-on: https://go-review.googlesource.com/c/go/+/540521 Reviewed-by: Michael Knyszek <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Auto-Submit: Bryan Mills <[email protected]> Reviewed-by: Bryan Mills <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
This PR is being closed because golang.org/cl/540521 has been merged. |
If GOROOT is a symbolic link,
the paths obtained from the
first and second Getwd of TestFileChdir are different,
and this CL fixes the test failure in this situation.
Fixes #64281