mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 10:15:07 +08: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:
1 parent
cc31d8b2d4
commit
9577946bed
2 files changed
+8
No files matched your search
@@ -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();
|
||||
Whitespace-only changes.
Reference in new issue
Block a user