Skip to content

tty: handle setRawMode errors#22886

Closed
seishun wants to merge 1 commit into
nodejs:masterfrom
seishun:setRawMode-error
Closed

tty: handle setRawMode errors#22886
seishun wants to merge 1 commit into
nodejs:masterfrom
seishun:setRawMode-error

Conversation

@seishun

@seishun seishun commented Sep 16, 2018

Copy link
Copy Markdown
Contributor

Refs: #21773

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

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

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

Trott commented Sep 17, 2018

Copy link
Copy Markdown
Member

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

@seishun

seishun commented Sep 17, 2018

Copy link
Copy Markdown
Contributor Author

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

@seishun

seishun commented Sep 17, 2018

Copy link
Copy Markdown
Contributor Author

@Fishrock123 Fishrock123 left a comment

Copy link
Copy Markdown
Contributor

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

seishun commented Sep 17, 2018

Copy link
Copy Markdown
Contributor Author

@danbev

danbev commented Sep 19, 2018

Copy link
Copy Markdown
Contributor

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

@danbev

danbev commented Sep 19, 2018

Copy link
Copy Markdown
Contributor

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 <anna@addaleax.net>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
targos pushed a commit that referenced this pull request Sep 20, 2018
PR-URL: #22886
Refs: #21773
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@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