# HG changeset patch # User Bram Moolenaar # Date 1582461004 -3600 # Node ID 74add0046945c3d5e7b237f46c499c440d0afc93 # Parent 0fb396e68e125ca914790f506500c6c9acc5d5ed patch 8.2.0304: terminal test if failing on some systems Commit: https://github.com/vim/vim/commit/95ffd43f88226599728d15cb1b7b272111ea1266 Author: Bram Moolenaar Date: Sun Feb 23 13:29:31 2020 +0100 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) diff --git a/src/testdir/test_terminal.vim b/src/testdir/test_terminal.vim --- a/src/testdir/test_terminal.vim +++ b/src/testdir/test_terminal.vim @@ -781,7 +781,8 @@ func Test_terminal_special_chars() call writefile(['x'], 'Xdir with spaces/quoted"file') term ls Xdir\ with\ spaces/quoted\"file 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') bwipe diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -739,6 +739,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 304, +/**/ 303, /**/ 302,