Skip to content

Commit b125b53

Browse files
committed
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.
1 parent 8dd46e7 commit b125b53

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

src/testdir/test_popupwin.vim

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3722,6 +3722,10 @@ func Test_popupwin_latin1_encoding()
37223722
terminal cat Xmultibyte
37233723
call popup_create(['one', 'two', 'three', 'four'], #{line: 1, col: 10})
37243724
redraw
3725+
" wait for "cat" to finish
3726+
while execute('ls!') !~ 'finished'
3727+
sleep 10m
3728+
endwhile
37253729
echo "Done"
37263730
END
37273731
call writefile(lines, 'XtestPopupLatin')

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+
2153,
753755
/**/
754756
2152,
755757
/**/

0 commit comments

Comments
 (0)