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:
Matteo Collina authored and Daniel Bevenius committed 2018-10-04 05:31:46 +02:00
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.