From: Bram Moolenaar Date: Mon, 18 Oct 2021 13:37:13 +0000 (+0100) Subject: patch 8.2.3534: autoread test is a bit flaky X-Git-Tag: v8.2.3534 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=944eeb44fb6e9d6d28474a1348d27c07873892f9;p=vim 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. --- diff --git a/src/testdir/test_stat.vim b/src/testdir/test_stat.vim index fa61c5c06..de4a204f5 100644 --- a/src/testdir/test_stat.vim +++ b/src/testdir/test_stat.vim @@ -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))) diff --git a/src/version.c b/src/version.c index b84aef5c6..6599ae05a 100644 --- a/src/version.c +++ b/src/version.c @@ -757,6 +757,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 3534, /**/ 3533, /**/