changeset 30312:84ab2b07d5f8 v9.0.0492

patch 9.0.0492: cmdwin test fails on MS-Windows Commit: https://github.com/vim/vim/commit/312af65d1ac763c060cb5adfcf8ae5beeec97f59 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 17 21:20:42 2022 +0100 patch 9.0.0492: cmdwin test fails on MS-Windows Problem: Cmdwin test fails on MS-Windows. Solution: Skip test on MS-Windows.
author Bram Moolenaar <Bram@vim.org>
date Sat, 17 Sep 2022 22:30:03 +0200
parents 508bafa1aff0
children 5cb61e2a8fbd
files src/testdir/test_cmdwin.vim src/version.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_cmdwin.vim
+++ b/src/testdir/test_cmdwin.vim
@@ -380,6 +380,9 @@ endfunc
 
 " This was using a pointer to a freed buffer
 func Test_cmdwin_freed_buffer_ptr()
+  " this does not work on MS-Windows because renaming an open file fails
+  CheckNotMSWindows
+
   au BufEnter * next 0| file 
   edit 0
   silent! norm q/
--- a/src/version.c
+++ b/src/version.c
@@ -700,6 +700,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    492,
+/**/
     491,
 /**/
     490,