Patch 8.2.5121
Problem: Interrupt test sometimes fails.
Solution: Use a different file name.
Files: src/testdir/test_interrupt.vim
*** ../vim-8.2.5120/src/testdir/test_interrupt.vim 2020-08-12
17:50:31.879655802 +0100
--- src/testdir/test_interrupt.vim 2022-06-18 11:54:26.831942493 +0100
***************
*** 13,29 ****
endfunction
func Test_interrupt()
! new Xfile
let n = 0
try
! au BufWritePre Xfile call s:bufwritepre()
! au BufWritePost Xfile call s:bufwritepost()
w!
catch /^Vim:Interrupt$/
endtry
call assert_equal(1, s:bufwritepre_called)
call assert_equal(0, s:bufwritepost_called)
! call assert_equal(0, filereadable('Xfile'))
endfunc
" vim: shiftwidth=2 sts=2 expandtab
--- 13,32 ----
endfunction
func Test_interrupt()
! new Xinterrupt
let n = 0
try
! au BufWritePre Xinterrupt call s:bufwritepre()
! au BufWritePost Xinterrupt call s:bufwritepost()
w!
catch /^Vim:Interrupt$/
endtry
call assert_equal(1, s:bufwritepre_called)
call assert_equal(0, s:bufwritepost_called)
! call assert_equal(0, filereadable('Xinterrupt'))
!
! au! BufWritePre
! au! BufWritePost
endfunc
" vim: shiftwidth=2 sts=2 expandtab
*** ../vim-8.2.5120/src/version.c 2022-06-18 11:22:36.674627758 +0100
--- src/version.c 2022-06-18 11:52:30.012016377 +0100
***************
*** 736,737 ****
--- 736,739 ----
{ /* Add new patch number below this line */
+ /**/
+ 5121,
/**/
--
FIRST SOLDIER: So they wouldn't be able to bring a coconut back anyway.
SECOND SOLDIER: Wait a minute! Suppose two swallows carried it together?
FIRST SOLDIER: No, they'd have to have it on a line.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ 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/20220618115312.455841C12E9%40moolenaar.net.