To: vim_dev@googlegroups.com Subject: Patch 8.2.3534 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///