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 -- b...@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    ///

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20211018133741.38727C80053%40moolenaar.net.

Reply via email to