Patch 8.2.2700

3 views
Skip to first unread message

Bram Moolenaar

unread,
Apr 3, 2021, 11:23:28 AM4/3/21
to vim...@googlegroups.com

Patch 8.2.2700
Problem: Nested autocmd test fails sometimes.
Solution: Wait for the job to finish.
Files: src/testdir/test_terminal.vim


*** ../vim-8.2.2699/src/testdir/test_terminal.vim 2021-04-03 13:19:23.106814487 +0200
--- src/testdir/test_terminal.vim 2021-04-03 17:16:00.525485767 +0200
***************
*** 2021,2028 ****
let buf = term_start(cmd, #{term_finish: 'close', hidden: 1})
call assert_equal(lastline, line('.'))

! call TermWait(buf)
! exe buf . 'bwipe'
call delete('Xtext')
augroup TermTest
au!
--- 2021,2028 ----
let buf = term_start(cmd, #{term_finish: 'close', hidden: 1})
call assert_equal(lastline, line('.'))

! let job = term_getjob(buf)
! call WaitForAssert({-> assert_equal("dead", job_status(job))})
call delete('Xtext')
augroup TermTest
au!
*** ../vim-8.2.2699/src/version.c 2021-04-03 17:18:47.296936719 +0200
--- src/version.c 2021-04-03 17:20:25.564615758 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2700,
/**/

--
hundred-and-one symptoms of being an internet addict:
49. You never have to deal with busy signals when calling your ISP...because
you never log off.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages