Patch 8.2.3514
Problem: Autoread test with nano second time sometimes fails.
Solution: Mark the test as being flaky.
Files: src/testdir/test_stat.vim
*** ../vim-8.2.3513/src/testdir/test_stat.vim 2021-10-15 00:37:56.677890792 +0100
--- src/testdir/test_stat.vim 2021-10-15 17:08:10.793831727 +0100
***************
*** 97,112 ****
func Test_autoread_fast()
CheckFeature nanotime
new Xautoread
! set autoread
call setline(1, 'foo')
-
w!
silent !echo bar > Xautoread
sleep 10m
checktime
-
call assert_equal('bar', trim(getline(1)))
call delete('Xautoread')
endfunc
--- 97,114 ----
func Test_autoread_fast()
CheckFeature nanotime
+ " this is timing sensitive
+ let g:test_is_flaky = 1
+
new Xautoread
! setlocal autoread
call setline(1, 'foo')
w!
silent !echo bar > Xautoread
sleep 10m
checktime
call assert_equal('bar', trim(getline(1)))
+
call delete('Xautoread')
endfunc
*** ../vim-8.2.3513/src/version.c 2021-10-15 12:51:25.279073103 +0100
--- src/version.c 2021-10-15 17:09:31.907073294 +0100
***************
*** 759,760 ****
--- 759,762 ----
{ /* Add new patch number below this line */
+ /**/
+ 3514,
/**/
--
hundred-and-one symptoms of being an internet addict:
160. You get in the elevator and double-click the button for the floor
you want.
/// 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 ///