Skip to content

Commit 55b6b60

Browse files
committed
patch 8.2.3008: startup test may hang
Problem: Startup test may hang. Solution: Add quit command in the script.
1 parent 61a417b commit 55b6b60

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/testdir/test_startup.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1305,9 +1305,10 @@ func Test_echo_true_in_cmd()
13051305
let lines =<< trim END
13061306
echo v:true
13071307
call writefile(['done'], 'Xresult')
1308+
quit
13081309
END
13091310
call writefile(lines, 'Xscript')
1310-
if RunVim([], [], '--cmd "source Xscript" --c q')
1311+
if RunVim([], [], '--cmd "source Xscript"')
13111312
call assert_equal(['done'], readfile('Xresult'))
13121313
endif
13131314
call delete('Xscript')

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,8 @@ static char *(features[]) =
750750

751751
static int included_patches[] =
752752
{ /* Add new patch number below this line */
753+
/**/
754+
3008,
753755
/**/
754756
3007,
755757
/**/

0 commit comments

Comments
 (0)