xref: /third_party/node/test/parallel/test-tty-stdin-end.js
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/node/test/parallel/
11cb0ef41Sopenharmony_ci'use strict';
21cb0ef41Sopenharmony_cirequire('../common');
31cb0ef41Sopenharmony_ci
41cb0ef41Sopenharmony_ci// This test ensures that Node.js doesn't crash on `process.stdin.emit("end")`.
51cb0ef41Sopenharmony_ci// https://github.com/nodejs/node/issues/1068
61cb0ef41Sopenharmony_ci
71cb0ef41Sopenharmony_ciprocess.stdin.emit('end');
8

Indexes created Thu Nov 07 10:32:03 CST 2024