-
Notifications
You must be signed in to change notification settings - Fork 18k
runtime: allow TestCtrlHandler to run in ConPTY #51681
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
Fixes #51602. Previous test would not run in a pseudo-console (ConPTY). New test avoids taskkill entirely by having the child request its own console window be closed. Verified that this runs locally (within a real console), over SSH (within a pseudo-console), and that it breaks if #41884 were reverted.
This PR (HEAD: 8f3f7c1) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/392874 to see it. Tip: You can toggle comments from me using the |
Message from Bryan Mills: Patch Set 1: Run-TryBot+1 Code-Review+1 Trust+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/392874. |
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/392874. |
Message from Bryan Mills: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/392874. |
Message from Gopher Robot: Patch Set 1: TryBot-Result+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/392874. |
Message from Bryan Mills: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/392874. |
Message from Nuno Cruces: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/392874. |
Message from Bryan Mills: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/392874. |
Message from Nuno Cruces: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/392874. |
Message from Nuno Cruces: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/392874. |
Message from Bryan Mills: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/392874. |
Message from Alex Brainman: Patch Set 1: Trust+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/392874. |
This PR (HEAD: dbf8c11) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/392874 to see it. Tip: You can toggle comments from me using the |
Message from Bryan Mills: Patch Set 2: Run-TryBot+1 Code-Review+1 Trust+1 (3 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/392874. |
Message from Gopher Robot: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/392874. |
Message from Bryan Mills: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/392874. |
Message from Gopher Robot: Patch Set 2: TryBot-Result+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/392874. |
Message from Nuno Cruces: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/392874. |
This PR (HEAD: 1380c18) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/392874 to see it. Tip: You can toggle comments from me using the |
Message from Bryan Mills: Patch Set 3: Trust+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/392874. |
This PR (HEAD: b1421e4) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/392874 to see it. Tip: You can toggle comments from me using the |
Message from Nuno Cruces: Patch Set 4: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/392874. |
Message from Bryan Mills: Patch Set 4: Run-TryBot+1 Code-Review+1 Trust+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/392874. |
Message from Gopher Robot: Patch Set 4: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/392874. |
Message from Gopher Robot: Patch Set 4: TryBot-Result+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/392874. |
Fixes #51602. Previous test would not run in a pseudo-console (ConPTY). New test avoids taskkill entirely by having the child request its own console window be closed. Verified that this runs locally (within a real console), over SSH (within a pseudo-console), and that it breaks if #41884 were reverted. Change-Id: If868b92ec36647e5d0e4107e29a2a6e048d35ced GitHub-Last-Rev: b1421e4 GitHub-Pull-Request: #51681 Reviewed-on: https://go-review.googlesource.com/c/go/+/392874 Reviewed-by: Bryan Mills <[email protected]> Trust: Bryan Mills <[email protected]> Run-TryBot: Bryan Mills <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Alex Brainman <[email protected]> Trust: Alex Brainman <[email protected]>
Message from Alex Brainman: Patch Set 4: Code-Review+2 Trust+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/392874. |
This PR is being closed because golang.org/cl/392874 has been merged. |
Fixes #51602. Previous test would not run in a pseudo-console (ConPTY).
New test avoids taskkill entirely by having the child request its own
console window be closed.
Verified that this runs locally (within a real console), over SSH
(within a pseudo-console), and that it breaks if #41884 were reverted.