0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/pseudo-tty
Anna Henningsen 7c8eec0648
test: check TTY mode reset on exit
Before PR 20592, closing all handles associated with the main
event loop would also mean that `uv_tty_reset_mode()`
can’t function properly because the corresponding FDs have
already been closed.

Add regression tests for this condition.

Refs: https://github.com/nodejs/node/issues/21020
Refs: https://github.com/nodejs/node/pull/20592

PR-URL: https://github.com/nodejs/node/pull/21027
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2018-06-01 10:52:06 +02:00
..
console_colors.js console: auto-detect color support by default 2018-04-12 23:23:57 +02:00
console_colors.out console: auto-detect color support by default 2018-04-12 23:23:57 +02:00
no_dropped_stdio.js
no_dropped_stdio.out
no_interleaved_stdio.js
no_interleaved_stdio.out
pseudo-tty.status
ref_keeps_node_running.js
ref_keeps_node_running.out
stdin-setrawmode.js
stdin-setrawmode.out
test-assert-colors.js assert: make skipping indicator blue 2018-04-29 17:05:51 +02:00
test-assert-colors.out assert: fix diff color output 2018-03-27 01:20:19 +01:00
test-async-wrap-getasyncid-tty.js
test-async-wrap-getasyncid-tty.out
test-handle-wrap-isrefed-tty.js
test-handle-wrap-isrefed-tty.out
test-set-raw-mode-reset-process-exit.js test: check TTY mode reset on exit 2018-06-01 10:52:06 +02:00
test-set-raw-mode-reset-process-exit.out test: check TTY mode reset on exit 2018-06-01 10:52:06 +02:00
test-set-raw-mode-reset-signal.js test: check TTY mode reset on exit 2018-06-01 10:52:06 +02:00
test-set-raw-mode-reset-signal.out test: check TTY mode reset on exit 2018-06-01 10:52:06 +02:00
test-set-raw-mode-reset.js test: check TTY mode reset on exit 2018-06-01 10:52:06 +02:00
test-set-raw-mode-reset.out test: check TTY mode reset on exit 2018-06-01 10:52:06 +02:00
test-stderr-stdout-handle-sigwinch.js
test-stderr-stdout-handle-sigwinch.out
test-tty-get-color-depth.js test: improve tty.getColorDepth coverage 2018-03-27 01:24:57 +01:00
test-tty-get-color-depth.out
test-tty-isatty.js
test-tty-isatty.out
test-tty-stdin-end.js src: remove kFlagNoShutdown flag 2018-05-04 00:57:38 +02:00
test-tty-stdin-end.out src: remove kFlagNoShutdown flag 2018-05-04 00:57:38 +02:00
test-tty-stdout-end.js
test-tty-stdout-end.out
test-tty-stdout-resize.js
test-tty-stdout-resize.out
test-tty-stream-constructors.js
test-tty-stream-constructors.out
test-tty-window-size.js
test-tty-window-size.out
test-tty-wrap.js
test-tty-wrap.out
testcfg.py