forked from aniani/vim
patch 8.2.0304: terminal test if failing on some systems
Problem: Terminal test if failing on some systems. Solution: Wait for the job to finish. (James McCoy)
This commit is contained in:
@@ -781,7 +781,8 @@ func Test_terminal_special_chars()
|
|||||||
call writefile(['x'], 'Xdir with spaces/quoted"file')
|
call writefile(['x'], 'Xdir with spaces/quoted"file')
|
||||||
term ls Xdir\ with\ spaces/quoted\"file
|
term ls Xdir\ with\ spaces/quoted\"file
|
||||||
call WaitForAssert({-> assert_match('quoted"file', term_getline('', 1))})
|
call WaitForAssert({-> assert_match('quoted"file', term_getline('', 1))})
|
||||||
call term_wait('')
|
" make sure the job has finished
|
||||||
|
call WaitForAssert({-> assert_match('finish', term_getstatus(bufnr()))})
|
||||||
|
|
||||||
call delete('Xdir with spaces', 'rf')
|
call delete('Xdir with spaces', 'rf')
|
||||||
bwipe
|
bwipe
|
||||||
|
@@ -738,6 +738,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
304,
|
||||||
/**/
|
/**/
|
||||||
303,
|
303,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user