mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
test: add process.stdin.end() TTY regression test
PR-URL: https://github.com/nodejs/node/pull/23051 Fixes: https://github.com/nodejs/node/issues/22814 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: George Adams <george.adams@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
cc31d8b2d4
commit
9577946bed
8
test/pseudo-tty/test-tty-stdin-call-end.js
Normal file
8
test/pseudo-tty/test-tty-stdin-call-end.js
Normal file
@ -0,0 +1,8 @@
|
||||
'use strict';
|
||||
|
||||
require('../common');
|
||||
|
||||
// This tests verifies that process.stdin.end() does not
|
||||
// crash the process with ENOTCONN
|
||||
|
||||
process.stdin.end();
|
0
test/pseudo-tty/test-tty-stdin-call-end.out
Normal file
0
test/pseudo-tty/test-tty-stdin-call-end.out
Normal file
Loading…
Reference in New Issue
Block a user