patch 8.2.2153: popupwin test for latin1 still fails sometimes

Problem:    Popupwin test for latin1 still fails sometimes.
Solution:   Wait for the "cat" command to finish.
This commit is contained in:
Bram Moolenaar
2020-12-17 21:56:09 +01:00
parent 8dd46e72cf
commit b125b535bb
2 changed files with 6 additions and 0 deletions

View File

@ -3722,6 +3722,10 @@ func Test_popupwin_latin1_encoding()
terminal cat Xmultibyte
call popup_create(['one', 'two', 'three', 'four'], #{line: 1, col: 10})
redraw
" wait for "cat" to finish
while execute('ls!') !~ 'finished'
sleep 10m
endwhile
echo "Done"
END
call writefile(lines, 'XtestPopupLatin')

View File

@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2153,
/**/
2152,
/**/