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:
parent
375c35a63f
commit
944eeb44fb
@ -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)))
|
||||
|
@ -757,6 +757,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
3534,
|
||||
/**/
|
||||
3533,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user