changeset 24942:6dc1be6040d1 v8.2.3008

patch 8.2.3008: startup test may hang Commit: https://github.com/vim/vim/commit/55b6b60b691eca7058535006113a1adffda4cabf Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 15 23:05:59 2021 +0200 patch 8.2.3008: startup test may hang Problem: Startup test may hang. Solution: Add quit command in the script.
author Bram Moolenaar <Bram@vim.org>
date Tue, 15 Jun 2021 23:15:03 +0200
parents 582dbe59bccc
children 18fa9cff7005
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
@@ -1305,9 +1305,10 @@ func Test_echo_true_in_cmd()
   let lines =<< trim END
       echo v:true
       call writefile(['done'], 'Xresult')
+      quit
   END
   call writefile(lines, 'Xscript')
-  if RunVim([], [], '--cmd "source Xscript" --c q')
+  if RunVim([], [], '--cmd "source Xscript"')
     call assert_equal(['done'], readfile('Xresult'))
   endif
   call delete('Xscript')
--- 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 */
 /**/
+    3008,
+/**/
     3007,
 /**/
     3006,