Skip to content

Commit 748d9d2

Browse files
mcollinatargos
authored andcommitted
test: add process.stdin.end() TTY regression test
PR-URL: #23051 Fixes: #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 6912376 commit 748d9d2

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)