Patch 8.2.0441
Problem: Terminal noblock test is still failing on BSD.
Solution: Reduce the amount of text.
Files: src/testdir/test_terminal.vim
*** ../vim-8.2.0440/src/testdir/test_terminal.vim 2020-03-24
10:32:53.919036997 +0100
--- src/testdir/test_terminal.vim 2020-03-24 12:10:47.807098917 +0100
***************
*** 662,683 ****
func Test_terminal_noblock()
let buf = term_start(&shell)
if has('bsd') || has('mac') || has('sun')
" The shell or something else has a problem dealing with more than 1000
! " characters at the same time.
let len = 1000
let wait_time = 15000
" NPFS is used in Windows, nonblocking mode does not work properly.
elseif has('win32')
let len = 1
- let wait_time = 5000
else
let len = 5000
- let wait_time = 5000
endif
" Send a lot of text lines, should be buffered properly.
! for c in split('abcdefghijklmnopqrstuvwxyz', '\zs')
call term_sendkeys(buf, 'echo ' . repeat(c, len) . "\<cr>")
endfor
call term_sendkeys(buf, "echo done\<cr>")
--- 662,684 ----
func Test_terminal_noblock()
let buf = term_start(&shell)
+ let wait_time = 5000
+ let letters = 'abcdefghijklmnopqrstuvwxyz'
if has('bsd') || has('mac') || has('sun')
" 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
let wait_time = 15000
+ let letters = 'abcdefghijklm'
" NPFS is used in Windows, nonblocking mode does not work properly.
elseif has('win32')
let len = 1
else
let len = 5000
endif
" Send a lot of text lines, should be buffered properly.
! for c in split(letters, '\zs')
call term_sendkeys(buf, 'echo ' . repeat(c, len) . "\<cr>")
endfor
call term_sendkeys(buf, "echo done\<cr>")
*** ../vim-8.2.0440/src/version.c 2020-03-24 10:32:53.919036997 +0100
--- src/version.c 2020-03-24 12:12:07.838822916 +0100
***************
*** 740,741 ****
--- 740,743 ----
{ /* Add new patch number below this line */
+ /**/
+ 441,
/**/
--
MORTICIAN: What?
CUSTOMER: Nothing -- here's your nine pence.
DEAD PERSON: I'm not dead!
MORTICIAN: Here -- he says he's not dead!
CUSTOMER: Yes, he is.
DEAD PERSON: I'm not!
The Quest for the Holy Grail (Monty Python)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202003241112.02OBCrj2013893%40masaka.moolenaar.net.