mcst-linux-kernel/patches-2024.06.26/gvim-9.0.1672/0002-test-terminal-noblock-...

17 lines
804 B
Diff

From previous version's patches.
Subject: fail in Test_terminal_noblock() for more than 1000 characters
Bug: 121550
diff -ruN vim-8.2.4788/src/testdir/test_terminal.vim vim-8.2.4788-patch/src/testdir/test_terminal.vim
--- vim-8.2.4788/src/testdir/test_terminal.vim 2022-04-19 12:25:13.000000000 +0300
+++ vim-8.2.4788-patch/src/testdir/test_terminal.vim 2022-04-26 15:27:58.974653364 +0300
@@ -718,7 +718,7 @@
" Starting a terminal can be slow, esp. on busy CI machines.
let wait_time = 7500
let letters = 'abcdefghijklmnopqrstuvwxyz'
- if has('bsd') || has('mac') || has('sun')
+ if has('bsd') || has('mac') || has('sun') || has('unix')
" The shell or something else has a problem dealing with more than 1000
" characters at the same time. It's very slow too.
let len = 1000