File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,6 +43,14 @@ func Test_client_server()
4343 " When using valgrind it takes much longer.
4444 call WaitForAssert ({- > assert_match (name, serverlist ())})
4545
46+ if ! has (' win32' )
47+ if RunVim ([], [], ' --serverlist >Xtest_serverlist' )
48+ let lines = readfile (' Xtest_serverlist' )
49+ call assert_true (index (lines , ' XVIMTEST' ) >= 0 )
50+ endif
51+ call delete (' Xtest_serverlist' )
52+ endif
53+
4654 eval name- >remote_foreground ()
4755
4856 call remote_send (name, " :let testvar = 'yes'\<CR> " )
Original file line number Diff line number Diff line change @@ -1121,6 +1121,21 @@ func Test_E_arg()
11211121 endif
11221122endfunc
11231123
1124+ " Test for the "-D" (debugger) argument
1125+ func Test_D_arg ()
1126+ CheckRunVimInTerminal
1127+
1128+ let cmd = GetVimCommandCleanTerm () .. ' -D'
1129+ let buf = term_start (cmd, {' term_rows' : 10 })
1130+ call WaitForAssert ({- > assert_equal (" running" , term_getstatus (buf ))})
1131+
1132+ call WaitForAssert ({- > assert_equal (' Entering Debug mode. Type "cont" to continue.' ,
1133+ \ term_getline (buf , 7 ))})
1134+ call WaitForAssert ({- > assert_equal (' >' , term_getline (buf , 10 ))})
1135+
1136+ call StopVimInTerminal (buf )
1137+ endfunc
1138+
11241139" Test for too many edit argument errors
11251140func Test_too_many_edit_args ()
11261141 " Can't catch the output of gvim.
Original file line number Diff line number Diff line change @@ -750,6 +750,8 @@ static char *(features[]) =
750750
751751static int included_patches [] =
752752{ /* Add new patch number below this line */
753+ /**/
754+ 2632 ,
753755/**/
754756 2631 ,
755757/**/
You can’t perform that action at this time.
0 commit comments