]> granicus.if.org Git - vim/commitdiff
patch 8.2.2153: popupwin test for latin1 still fails sometimes v8.2.2153
authorBram Moolenaar <Bram@vim.org>
Thu, 17 Dec 2020 20:56:09 +0000 (21:56 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 17 Dec 2020 20:56:09 +0000 (21:56 +0100)
Problem:    Popupwin test for latin1 still fails sometimes.
Solution:   Wait for the "cat" command to finish.

src/testdir/test_popupwin.vim
src/version.c

index 32a1eb7e80352a9d812c1c13d5c584f94fc1420e..ca7c6a917d4f96fa7e98289e558c4c05fe1e8095 100644 (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')
index 3e6451843c7d499c080eb0c6fe875ede07960df6..2bb336e0bb632672182e844bf7796fb92b3cfdab 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2153,
 /**/
     2152,
 /**/