To: vim_dev@googlegroups.com Subject: Patch 8.2.0441 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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) . "\") endfor call term_sendkeys(buf, "echo done\") --- 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) . "\") endfor call term_sendkeys(buf, "echo done\") *** ../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 -- Bram@Moolenaar.net -- 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 ///