Skip to content

Commit 46e2f36

Browse files
committed
Add workaround for Test_terminal_noblock
1 parent d0fef76 commit 46e2f36

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/testdir/test_terminal.vim

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,12 @@ func Test_terminal_noblock()
463463
if has('mac')
464464
" The shell or something else has a problem dealing with more than 1000
465465
" characters at the same time.
466-
let len = 1000
466+
if has('gui_running')
467+
" PIPE_BUF is 512
468+
let len = 512 - 5 - 1
469+
else
470+
let len = 1000
471+
endif
467472
else
468473
let len = 5000
469474
endif

0 commit comments

Comments
 (0)