Patch 8.2.3534

5 views
Skip to first unread message

Bram Moolenaar

unread,
Oct 18, 2021, 9:37:47 AM10/18/21
to vim...@googlegroups.com

Patch 8.2.3534
Problem: Autoread test is a bit flaky.
Solution: Wait a brief moment before overwriting the file.
Files: src/testdir/test_stat.vim


*** ../vim-8.2.3533/src/testdir/test_stat.vim 2021-10-15 17:09:45.407279908 +0100
--- src/testdir/test_stat.vim 2021-10-18 14:33:53.111299721 +0100
***************
*** 104,110 ****
setlocal autoread
call setline(1, 'foo')
w!
! silent !echo bar > Xautoread
sleep 10m
checktime
call assert_equal('bar', trim(getline(1)))
--- 104,111 ----
setlocal autoread
call setline(1, 'foo')
w!
! sleep 10m
! call writefile(['bar'], 'Xautoread')
sleep 10m
checktime
call assert_equal('bar', trim(getline(1)))
*** ../vim-8.2.3533/src/version.c 2021-10-18 13:15:59.845862991 +0100
--- src/version.c 2021-10-18 14:35:09.192397113 +0100
***************
*** 759,760 ****
--- 759,762 ----
{ /* Add new patch number below this line */
+ /**/
+ 3534,
/**/

--
I'm in shape. Round IS a shape.

/// 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