0
0
mirror of https://github.com/vim/vim.git synced 2025-09-07 22:03:36 -04:00

patch 8.2.3534: autoread test is a bit flaky

Problem:    Autoread test is a bit flaky.
Solution:   Wait a brief moment before overwriting the file.
This commit is contained in:
Bram Moolenaar 2021-10-18 14:37:13 +01:00
parent 375c35a63f
commit 944eeb44fb
2 changed files with 4 additions and 1 deletions

View File

@ -104,7 +104,8 @@ func Test_autoread_fast()
setlocal autoread
call setline(1, 'foo')
w!
silent !echo bar > Xautoread
sleep 10m
call writefile(['bar'], 'Xautoread')
sleep 10m
checktime
call assert_equal('bar', trim(getline(1)))

View File

@ -757,6 +757,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3534,
/**/
3533,
/**/