Skip to content

Commit 9577946

Browse files
mcollinadanbev
authored andcommitted
test: add process.stdin.end() TTY regression test
PR-URL: nodejs#23051 Fixes: nodejs#22814 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: George Adams <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent cc31d8b commit 9577946

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
'use strict';
2+
3+
require('../common');
4+
5+
// This tests verifies that process.stdin.end() does not
6+
// crash the process with ENOTCONN
7+
8+
process.stdin.end();

test/pseudo-tty/test-tty-stdin-call-end.out

Whitespace-only changes.

0 commit comments

Comments
 (0)