Skip to content
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

tty: handle setRawMode errors #22886

Closed
wants to merge 1 commit into from
Closed

tty: handle setRawMode errors #22886

wants to merge 1 commit into from

Conversation

seishun
Copy link
Contributor

@seishun seishun commented Sep 16, 2018

Refs: #21773

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

@nodejs-github-bot nodejs-github-bot added the tty Issues and PRs related to the tty subsystem. label Sep 16, 2018
@Trott
Copy link
Member

Trott commented Sep 17, 2018

Is it possible (and not too onerous) to add a reliable test that will cover the error condition?

@seishun
Copy link
Contributor Author

seishun commented Sep 17, 2018

I don't think it's possible to trigger an error intentionally.

@seishun
Copy link
Contributor Author

seishun commented Sep 17, 2018

Copy link
Contributor

@Fishrock123 Fishrock123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that major? I'm not really sure. I guess in theory errors should be so uncommon that it doesn't matter?

@seishun
Copy link
Contributor Author

seishun commented Sep 17, 2018

@danbev
Copy link
Contributor

danbev commented Sep 19, 2018

Re-run of CI: https://ci.nodejs.org/job/node-test-commit-linux/21689/ was successful.

@danbev
Copy link
Contributor

danbev commented Sep 19, 2018

Landed in a82fc30.

@danbev danbev closed this Sep 19, 2018
danbev pushed a commit that referenced this pull request Sep 19, 2018
PR-URL: #22886
Refs: #21773
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Jeremiah Senkpiel <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
targos pushed a commit that referenced this pull request Sep 20, 2018
PR-URL: #22886
Refs: #21773
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Jeremiah Senkpiel <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
@seishun seishun deleted the setRawMode-error branch May 2, 2020 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tty Issues and PRs related to the tty subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants