changeset 24944:d8216679a971 v8.2.3009

patch 8.2.3009: startup test may hang Commit: https://github.com/vim/vim/commit/b90ac5e96e40706ffb039db64b92fcd16fa78c04 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jun 16 10:59:36 2021 +0200 patch 8.2.3009: startup test may hang Problem: Startup test may hang. Solution: Do not run the test in the GUI.
author Bram Moolenaar <Bram@vim.org>
date Wed, 16 Jun 2021 11:00:03 +0200
parents 18fa9cff7005
children a98c7315519b
files src/testdir/test_startup.vim src/version.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_startup.vim
+++ b/src/testdir/test_startup.vim
@@ -1302,6 +1302,8 @@ func Test_write_in_vimrc()
 endfunc
 
 func Test_echo_true_in_cmd()
+  CheckNotGui
+
   let lines =<< trim END
       echo v:true
       call writefile(['done'], 'Xresult')
@@ -1313,7 +1315,6 @@ func Test_echo_true_in_cmd()
   endif
   call delete('Xscript')
   call delete('Xresult')
-
 endfunc
 
 " vim: shiftwidth=2 sts=2 expandtab
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    3009,
+/**/
     3008,
 /**/
     3007,