]> granicus.if.org Git - vim/commitdiff
patch 8.2.3512: timestamp test fails on some systems v8.2.3512
authorBram Moolenaar <Bram@vim.org>
Thu, 14 Oct 2021 23:38:02 +0000 (00:38 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 14 Oct 2021 23:38:02 +0000 (00:38 +0100)
Problem:    Timestamp test fails on some systems.
Solution:   Sleep for a short while.

src/testdir/test_stat.vim
src/version.c

index b56528192aca483c17d8eb0e83cf46657c506061..38ced6d37e97fe21bda68d8cf5eb17f26d754c4a 100644 (file)
@@ -103,6 +103,7 @@ func Test_autoread_fast()
 
   w!
   silent !echo bar > Xautoread
+  sleep 10m
   checktime
 
   call assert_equal('bar', trim(getline(1)))
index f4e9f9f921837c93b406e4603fcc17ff40d6b172..691af122d20723e7401a2dd776dbc97201fdccbe 100644 (file)
@@ -757,6 +757,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3512,
 /**/
     3511,
 /**/