changeset 23215:62310124e265 v8.2.2153

patch 8.2.2153: popupwin test for latin1 still fails sometimes Commit: https://github.com/vim/vim/commit/b125b535bb0456ab43c10683307a4bc359442d44 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 17 21:56:09 2020 +0100 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.
author Bram Moolenaar <Bram@vim.org>
date Thu, 17 Dec 2020 22:00:04 +0100
parents 66b2d1b54e53
children 47128eac082d
files src/testdir/test_popupwin.vim src/version.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_popupwin.vim
+++ b/src/testdir/test_popupwin.vim
@@ -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')
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2153,
+/**/
     2152,
 /**/
     2151,