changeset 21638:5dcdb970111b v8.2.1369

patch 8.2.1369: MS-Windows: autocommand test sometimes fails Commit: https://github.com/vim/vim/commit/14ddd226daa324831e1872c352452f202fd6068c Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 5 12:02:40 2020 +0200 patch 8.2.1369: MS-Windows: autocommand test sometimes fails Problem: MS-Windows: autocommand test sometimes fails. Solution: Do not rely on the cat command.
author Bram Moolenaar <Bram@vim.org>
date Wed, 05 Aug 2020 12:15:03 +0200
parents 00cd029a1a87
children 651e12be4670
files src/testdir/test_autocmd.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_autocmd.vim
+++ b/src/testdir/test_autocmd.vim
@@ -1618,7 +1618,7 @@ func Test_change_mark_in_autocmds()
   write
   au! BufWritePre
 
-  if executable('cat')
+  if has('unix')
     write XtestFilter
     write >> XtestFilter
 
--- a/src/version.c
+++ b/src/version.c
@@ -755,6 +755,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1369,
+/**/
     1368,
 /**/
     1367,