summaryrefslogtreecommitdiff
path: root/test/parallel/test-tty-stdin-end.js
blob: c78f58446d03e900d071f876d6147452cb93bce7 (plain)
1
2
3
4
5
6
7
'use strict';
require('../common');

// This test ensures that Node.js doesn't crash on `process.stdin.emit("end")`.
// https://github.com/nodejs/node/issues/1068

process.stdin.emit('end');