]> granicus.if.org Git - vim/commitdiff
patch 8.2.3009: startup test may hang v8.2.3009
authorBram Moolenaar <Bram@vim.org>
Wed, 16 Jun 2021 08:59:36 +0000 (10:59 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 16 Jun 2021 08:59:36 +0000 (10:59 +0200)
Problem:    Startup test may hang.
Solution:   Do not run the test in the GUI.

src/testdir/test_startup.vim
src/version.c

index 7e98591ba229408138e464731acc9ec14520e14d..a6e52ce573e44903119cd70df333cc45838a76b7 100644 (file)
@@ -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
index f3b34037ddeff0bd1fe773dd037eaa1a97a87354..1c680f2f061478e72e62ebac80bcaf3e97e6fda6 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3009,
 /**/
     3008,
 /**/