diff options
Diffstat (limited to 'test/pseudo-tty/test-stderr-stdout-handle-sigwinch.js')
-rw-r--r-- | test/pseudo-tty/test-stderr-stdout-handle-sigwinch.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/pseudo-tty/test-stderr-stdout-handle-sigwinch.js b/test/pseudo-tty/test-stderr-stdout-handle-sigwinch.js index f828e92afbe..4d87e15d342 100644 --- a/test/pseudo-tty/test-stderr-stdout-handle-sigwinch.js +++ b/test/pseudo-tty/test-stderr-stdout-handle-sigwinch.js @@ -27,4 +27,8 @@ process.stdout._refreshSize = wrap(originalRefreshSizeStdout, process.stdout, 'calling stdout._refreshSize'); -process.emit('SIGWINCH'); +// In AIX, the child exits even before the python parent +// can setup the readloop. Provide a reasonable delay. +setTimeout(function() { + process.emit('SIGWINCH'); +}, common.isAix ? 200 : 0); |